Is this code clean? A critical look at Clean Code 2nd Edition
8 days ago
- #Software Development
- #Book Review
- #Clean Code
- The second edition of 'Clean Code' remains largely unchanged from the first, maintaining the same tiny-functions style and OOP habits.
- Critiques of the first edition still apply, as the book hasn't evolved much in its approach to coding style or design.
- The second edition is less focused and more rambling, incorporating material from other works by Robert Martin.
- Martin's examples in languages like Python and Go are written as if they were Java, lacking depth in those languages.
- The book continues to advocate for avoiding comments, using tiny functions, and moving parameters to class state.
- Performance and readability critiques of the 'Clean Code' style are not adequately addressed in the second edition.
- The book's approach to SOLID principles and domain modeling is criticized for being mechanically applied without considering the domain.
- Error handling examples in the book are seen as sloppy and not reflective of real-world software engineering practices.
- The chapter on comments remains dismissive, failing to provide good examples of effective commenting.