Notes and takeaways while reading Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin ("Uncle Bob").
The repo mirrors the three-part structure Martin describes for the book itself:
Chapter-by-chapter notes on the core ideas, ending with "successive refinement" chapters where a piece of code gets progressively cleaned up.
- 01 — Naming
- 02 — Functions
- 03 — Comments
- 04 — Formatting
- 05 — Objects and Data Structures
- 06 — Error Handling
- 07 — Boundaries
- 08 — Unit Tests
- 09 — Classes
- 10 — Systems
- 11 — Emergence
- 12 — Concurrency
- 13 — Successive Refinement
Larger worked examples: dirty code, then the reasoning that gets it to clean. See part-2-case-studies/.
A single cross-referenced list of code smells and heuristics, linking back to where each one showed up in Parts 1 and 2. See part-3-smells-and-heuristics/.
Just started — filling this in chapter by chapter as I read.