Bodacious / CursedCode

Episode code for the {Cursed Code} YouTube episodes

Home Page:https://www.youtube.com/playlist?list=PLSoe3m51zPA3LaXGdtKgWEOkzoqe66c_w

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ§™πŸ§™πŸ»β€{ Cursed Code } πŸ§™πŸ§™

YouTube Playlist for this repo

About This Repo

Welcome to the Cursed Code repository, a collection of cursed Ruby code snippets submitted by the global Ruby community.

The code examples here are submitted by the global Ruby community, with the aim of them being refactored as educational guides.

How to Read the Code Examples

All code examples are organised into their own directories. Each directory contains:

  • A before directory with the original, cursed code.
  • An after directory with the refactored version.

How to Submit Some Cursed Code

  1. Fork this repository.
  2. Add your own directory with a before subdirectory containing your cursed code.
  3. Create a Pull Request (PR) to propose your submission.

Rules of Submission

  1. You must have permission to share the code publicly, and consent to your code being used and refactored in various media.
  2. The code must be written in Ruby.
  3. Limit your example to a maximum of 5 files and 500 lines of code.
  4. The code must include tests that can be easily run (preferably with rake)
  5. Ensure the code includes a Gemfile for dependency management.

Voting for Content You Would Like to See

Browse the pull requests and vote for the suggestions you'd like to see refactored by giving them a πŸ‘ thumbs-up emoji.

Happy coding! πŸ’€πŸ‘Ύ

Lint Ruby with RuboCop

About

Episode code for the {Cursed Code} YouTube episodes

https://www.youtube.com/playlist?list=PLSoe3m51zPA3LaXGdtKgWEOkzoqe66c_w


Languages

Language:Ruby 100.0%