I've just done the Bowling Game Kata in Clojure.
These are the tests using Midje:
and this is the code:
I used a mix of TDD and REPL-driven development to solve it.
I commited the code after every passing test, every refactor and every major REPL spike.
If you want to follow the process, you can find the commits step by step here.
You can find the resulting code in GitHub.
No comments:
Post a Comment