Kata
The idea behind refactoring golf exercises is to practice refactoring from a starting point to the desired endpoint while minimizing the number of movements needed to perform the change code.
In these katas, we are given an initial code base and a desired final result. The objective is to apply the minimal refactoring moves to take us from the initial code base to the final one, using as few movements as possible.
Refactoring Golf
The original idea for the refactoring golf exercise has been hard to find; giving credit to one person alone is not possible. Different versions have been created by several people, such as Ivan Moore, Dave Cleal, Mike Hill, Jason Gorman, Robert Chatley, and David Denton.
Refactoring Golf is a game designed to stretch your refactoring muscles and get you to explore your IDE to see what's really possible using shortcuts and automation.
These repos contain several source trees, or numbered Holes based on several different exercises...