The Benefits of Small Changes
Changing code in small chunks has a number of intrinsic benefits. Chief among them is that making small changes reduces the risk of introducing bugs. Bugs are the result of human error, and the smaller the change, the less chance there is for something to get past you. By reducing the chances that an initiative (however small) you've undertaken in your code will fail, you increase the chances that the project will succeed overall. A project is nothing more than a number of related smaller initiatives tied together by a common goal. As Kent Beck says in his book Extreme Programming Explained, lowering the risk of project failure by shortening the release cycle (and thereby reducing the number of changes made in a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access