Code katas are short programming exercises meant to hone your skills through repetition. They’re also handy for learning new languages, praciticing your keyboard ninja skills, and more. Here’s a collection of some of the neater ones I’ve ran across:
- Gilded Rose
- Bowling Game
- String calculator (and part 2)
- Big collection of random katas
- String stack – have it throw an exception for popping an empty stack, pop a single item, and pop two items correctly.
- Dollar amount to wording – convert a given dollar amount (say $1,132.53) to wording like you’d use on your checks (“one thousand, one hundred thirty two and 53/100″).
- App Katas
- Collection of various exercises & katas
- Project Euler (anything from there)
- Roman Numerals
- A listing of different katas
- Team Dojo – a kata for a small group that Jason Gorman ran at Software Craftsmanship 2012. Great exercise.
- Ordered Jobs
- Composition Kata
I’ll expand this list as I run across more.