Mathematicians are like managers--they want improvement without change.

Edsger Dijkstra

Chapter 4Pay Off Your Technical Debt

Now that we’ve uncovered hotspots and surprising temporal coupling in our codebase, we need to put that information to use. This is often easier said than done. Even armed with the existing catalogs of refactoring techniques, we need to consider the people side of code, too. Refactoring code that’s under heavy development, perhaps even shared between multiple teams, adds another dimension to the problem.

This chapter introduces refactoring strategies that let you improve code iteratively to limit the disturbance to the rest of the business. The strategies build on the evolutionary analyses you mastered in the earlier ...

Get Software Design X-Rays 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.