Erlang TDD - String Calculator Kata
Here is a quick video of me performing the String Calculator TDD Kata in just over ten minutes. As programmers we can use Kata's to artificially gain experience solving real problems. Katas can be used to learn a new language such as Erlang or a new technique such as TDD/BDD. For those who don't know, wikipedia defines a code kata as follows;
...a term coined by Dave Thomas, co-author of the book The Pragmatic Programmer, in a bow to the Japanese concept of kata in the martial arts. A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition.
I use vim, make, erlang and eunit to write a solution for the kata, up until the end of point five listed on the kata page linked above. If you'd like to learn how to configure vim or write a makefile to do this you can check out my article on Setting up Vim for Erlang TDD and Creating an Erlang Test Runner Using Make.
Erlang String Calculator TDD Kata from Cody Rioux on Vimeo.
I highly encourage you to give some katas a try to improve your programming skills. Next week I'll be posting a collection of Katas that you can use you familiarize yourself with new programming languages or techniques.