The Inquisitive Coder – Davy Brion’s Blog

Trying to walk that thin line between intelligence and ignorance

Recommended Books: Clean Code

Posted by Davy Brion on August 30th, 2008

This week i read Robert C. Martin’s Clean Code book. With so many great books already available about writing good code, the first question i asked myself was: do we really need another one? The answer turns out to be YES!

At around 350 pages (depending on which of the appendices you find useful), this book really covers a lot of ground, but in a concise (without being _too_ concise) way. You’ll find the typical sound advice on using good names, writing good functions, good vs bad comments, formatting, abstractions, encapsulation, robustness, integrating third-party code, testing, refactoring, class design, system design, enabling emergent design and dealing with concurrency. After all of that, there are a couple of chapters where existing code is improved step by step. To top it all off, the final chapter contains an extensive list of smells and heuristics.

Some of you are probably thinking that all of this looks rather familiar, especially if you’ve read books like Code Complete, Refactoring and Implementation Patterns. And this book really doesn’t offer anything new that nobody ever wrote about before. It is however the best, and most accessible collection of good advice on good code and design that i’ve read so far.

  • Share/Save/Bookmark

2 Responses to “Recommended Books: Clean Code”

  1. Dew Drop - August 30, 2008 | Alvin Ashcraft's Morning Dew Says:

    [...] Recommended Books: Clean Code (Davy Brion) [...]

  2. Daily del.icio.us for August 28th through September 1st — Vinny Carpenter's blog Says:

    [...] The Inquisitive Coder – Davy Brion’s Blog » Blog Archive » Recommended Books: Clea… – This week i read Robert C. Martin’s Clean Code book. With so many great books already available about writing good code, the first question i asked myself was: do we really need another one? The answer turns out to be YES! [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>