Sunday, June 16, 2013

Kata: "Gilded Rose" in Java

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.

2 comments:

  1. Nice work! Very helpful to have it commited step by step.

    ReplyDelete
  2. Thank you! Glad, it's helpful for you.

    ReplyDelete