Starting code for the GildedRose Refactoring Kata in many programming languages.
Go to file
2013-05-31 20:12:57 +02:00
GildedRose Re-introduce the com.gildedrose package for the Java example. Java isn't able to reference classes in the default packge, so if you're refactoring and putting your refactored code in packges, you can't refer back to the original code (i.e. Item) from them. Ensure the TextTest reference is also updated to the new location of the test. 2013-03-27 17:13:22 +00:00
Tennis Converted to parametrized test; not as nice as it ought to be, but not exactly easy using OCUnit... 2013-05-31 20:12:57 +02:00
Yahtzee Revert undesired changes to the README. 2013-04-07 13:11:22 +02:00
README.md Updated the README files to markdown, improved the instructions. 2012-10-12 16:17:59 +02:00

Refactoring Katas

Can you refactor? In really small steps? Can you turn some, frankly, ugly code into a paradigm of elegant, readable, extensible design?

This is a collection of starting files for when practicing refactoring.

Contents so far:

  • Tennis Kata in Java, Python and C++.
  • Gilded Rose Kata in C++, C#, Java, Python, Smalltalk, C and Ruby. (a C# version together with a starting project is already available on github here)
  • Yahtzee Kata in C#, Java, C++ and Python (the C#, C++ and Java versions are also available in Jon Jagger's Cyberdojo, see his blog post)

For more information about these and other katas, you may be interested in my book The Coding Dojo Handbook