Chapter 9Practice 5: Create CLEAN Code

CLEAN code is a shout-out to Uncle Bob Martin’s book Clean Code: A Handbook of Agile Software Craftsmanship[42] and to Miško Hevery’s “Clean Code Talks.”[43] Both are outstanding resources for software developers interested in writing cleaner, more testable software.

In this chapter, we’ll explore five code qualities that are at the foundation of good software. They are at the core of software development principles and practices. And, as we will see, they have a very special relationship with testability.

We can infer virtually all good software development skills by understanding just a handful of code qualities. And these qualities show up in many other places than code: they are everywhere from a ...

Get Beyond Legacy Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.