¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Arabic to Roman Numeral kata with commentary


 

Hi, All,

I recently posted a katacast of the arabic to roman numeral conversion kata
with an audio commentary track over it. It is heavy TDD, plus uses bits of
the transformation priority premise.



Would love to hear any feedback from the list.

Thanks!
-Corey Haines


john_s_ryan
 

First off, thank you for putting that katacast together.

I really appreciate your delivery style. There's zero ego-speak to overcome, you're just sharing peer-to-peer with your fellow craftsmen. This is very pragmatic: when trying to learn something, pompous tone or outright arrogance is noise. Yours is a bright clear signal. Thank you for that.

Your solution has a certain elegance. As Matthew May points out, elegance is that simplicity that is earned by doing the hard work of intentionally wading through the complexity.

Just as important as your use of Uncle Bob's Transformations in priority, is your repertoire of chops. I wonder if that's worth giving a little attention to? What we talk about is implicitly more important, what we don't talk about is implicitly relatively less important.

~15 mins is a perfect-sized morsel. There's enough to chew on here, for most, that it's a great time to take a break.

Finally, your taking the time to do at least two passes really increases the value density as well. There's something to be said when the listener isn't wanting to complete your sentences because you're multitasking and a bit slow on clearly articulating what you're doing while you're doing it.

Good stuff!

--- In testdrivendevelopment@..., Corey Haines wrote:

Hi, All,

I recently posted a katacast of the arabic to roman numeral conversion kata
with an audio commentary track over it. It is heavy TDD, plus uses bits of
the transformation priority premise.



Would love to hear any feedback from the list.

Thanks!
-Corey Haines


[Non-text portions of this message have been removed]


Carlos Ble
 

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