A code kata is a short programming task. Its purpose is to let you practice tools and technique. You pick a relatively small problem and practice it repeatedly. Since the task is small, you free yourself to focus on technique and speed, tools and workflows, as opposed to active problem solving.
Print digits from 0 to 100. For every digit which divides with three, print “fizz” instead. For digits dividing with five, print “buzz”. For digits which divide with both, print “fizzbuzz”.
My solution, as shown in the video below, was meant to accomplish two things:
Improve my technique and speed in my editor of choice - TextMate. I’m trying to use the mouse as little as possible, can you tell? I still consider myself fairly slow in TextMate, but I improved while practicing for this screencast.
The clip was shot using SnapzProX on OS X 10.6.2. I edited the clip with Final Cut Express. No changes were made to the kata footage itself - I only added music and intro/outro screens.