Chapter 19Refactoring

Reminder: We need steady progress. To keep progress steady, we need a clear, clean design all the time. To accomplish this, we must refactor.

The Natural Way asks us to show steady progress in terms of visible, working software. Seeing real software come into being at a steady pace gives us a sense of where we are. This helps us decide what to do next and what to defer until later.

Often, though, our pace is not steady. Even though our work items seem all about equally difficult, our pace may become erratic. Shortly after this happens, our pace almost inevitably slows down.

This is demoralizing. Even worse, it makes planning difficult. Worse still, we’ll usually see an increase in defects as this happens. And worst ...

Get The Nature of Software Development 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.