Skip to content

Getting Started

Welcome to crappy-code.

This repository contains intentionally bad code designed for learning refactoring, debugging, and improving real-world applications.

How to use a lesson

Each lesson includes:

  • README.md → context
  • task.md → what to fix
  • hints.md → optional guidance
  • explanation.md → deep dive
  • bad/ → starting point
  • solution/ → one possible fix

Suggested workflow

  1. Read README
  2. Complete the task
  3. Use hints if stuck
  4. Compare with solution
  5. Read explanation

Bad code, good lessons.