Refactor Lessons Learned From The Bowling Game Kata (1/2)
This Kata, like no other one, teaches how to master the refactor.
The key to success in software development is the ability to advance in small steps. That can be small deliveries, small stories, and small changes. Instead of developing a zillion lines of code and, once finished, running it and seeing that it is full of bugs, and some behavior is not as expected, we can shrink and check quality at every step. One of the key abilities to do so is the ability to make small and incremental refactors. And the Bowling Game Kata presents one of the best techniques to do the smallest refactors possible. Distilling it into its essence.
This article seeks to teach some techniques to facilitate the refactor shown in the previous article:
Why Bowling Game Kata?
Something weird about the Bowling Game Kata is that it is not a kata like the others. Often, when someone talks about a kata, we understand a small problem that we have to solve. Instead, Robert C. Martin…