Make Payments Through Refactoring

Refactoring is the practice of continuously making small, incremental design improvements to your software without changing the overall external behavior.

When we refactor our code, we aren’t adding new functionality or even fixing bugs. Instead, we are improving the understandability of our code by making it easier to comprehend and more amenable to change.

We call one of these changes a refactoring.

For example, whenever you rename a poorly named method or variable in an effort to make it easier to read and understand, you’re refactoring.


At first glance, refactorings like these may seem small and insignificant. ...

Get The Agile Samurai now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.