Excellent screencast Corey! thanks for that :-)
My experience with this kind of complex-algorithms katas is that TDD is not
enough
to find the best solution. TDD helps when you already have the solution in
your head.
Then TDD and the TTP helps you write the minimun code to write the
algorithm you are thinking of.
Transforming "II" in "I" + convert(in_aragic -1) is an insightful idea, not
just emerging design.
So in these cases I try to do several spikes, use pencil and paper, think
hard, and then test drive
my solution towards the algorithm in my head. Because there is no obvious
triangulation.
This is the more effective way of solving the problem right for me.
Cheers ;-)
--
Carlos Ble
www.CarlosBle.com <> - @carlosble
Check out my book on TDD: www.dirigidoPorTests.com/el-libro
Try my latest app for team productivity: www.liveTeamApp.com
Need test doubles for python?: www.pyDoubles.org