Author: Brandon Pearman
The views expressed here are mine alone and do not reflect the view of my employer.
- Founder of OTI.
- Coined the phrases 'Code Kata' and 'DRY'.
- An original signatory of The Manifesto for Agile Software Development.
- Clean code can be read, and enhanced by a developer other than its original author. It has unit and acceptance tests. It has meaningful names. It provides one way rather than many ways for doing one thing. It has minimal dependencies, which are explicitly defined, and provides a clear and minimal API. Code should be literate since depending on the language, not all necessary information can be expressed clearly in code alone.
- Don't Repeat Yourself (or DRY) is probably one of the most misunderstood parts of the book. Most people take DRY to mean you shouldn't duplicate code. That's not its intention. The idea behind DRY is far grander than that. DRY says that every piece of system knowledge should have one authoritative, unambiguous representation. Every piece of knowledge in the development of something should have a single representation.
- It's not at all important to get it right the first time. It's vitally important to get it right the last time.
- Book - The Pragmatic Programmer