Today I've practiced with the Gilded Rose refactoring kata in Java.
I had to put a test harness in place before being able to start refactoring.
Here it's the code, committed after each small refactoring step.
Update: I revisited the kata a year after. Here you can find an improved new version.
Thank you! Glad, it's helpful for you.
ReplyDelete