Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Starting code for refactoring kata exercises
JavaScript Java C++ C# Python Ruby Other
Branch: master
Pull request Compare This branch is 81 commits ahead of spatrik:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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

Something went wrong with that request. Please try again.