O'Reilly logo

Beyond Legacy Code by David Scott Bernstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Impediments to Changeability

Supportable code is flexible and easy to modify because it’s readable and understandable, not just by the developer who wrote the code but by other professional software developers as well.

We’ve seen previously that one aspect of “good code” is that it’s easy to change. When I ask developers what makes code easy to change, they usually say things like it’s well documented, it uses intention-revealing names, it follows a consistent metaphor, and so on. These and other things can definitely help make code easier to understand and easier to change.

Are there guidelines developers can follow that show them how to make code easier to change? I believe the answer is a resounding Yes! We’ve already discussed several principles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required