Archive for October, 2009

October 26, 2009 10

Roman Numerals

By Enrique Comba Riepenhausen in Katas

For my first kata I have chosen the Ruby Quiz #22: Roman Numerals. The original quiz is split into two parts; converting a number to it’s roman numeral and converting a roman numeral to it’s arabic representation.
In my kata I only perform the former as I wanted to keep the kata as short as possible.
I [...]

October 15, 2009 16

Number to LCD

By Corey Haines in Katas

My inaugural code kata is the venerable Ruby Quiz #14: LCD Numbers. This is a fun exercise, as it exists it two distinct parts: single-digit and multi-digit. I appreciate the natural move between them, and I often find myself focusing on one side or the other, starting from scratch and working until I have single-digit [...]