Code Katas: Kicking off With a Little JavaScript « Composite Code

added by adron
9/29/2011 8:48:11 AM

199 Views

BEWARE, this is a crazy long post. So before you jump in for a read, just know that it isn’t a two minute read. A few days ago, my friend Aeden Jameson (@daliful) asks, “you want to work through a code kata this weekend?” I thought, well yeah, that’d be cool. So we met at Cafe Fiore and hacked out the beginning of a Kata based on the Roman to Arabic and Arabic to Roman Numerals. It was fun, which led me to working up an actual blog entry related to our kata session. This however, is just me working thr...


1 comments

dpeterson
9/29/2011 8:50:13 AM
Honestly, you could have retitled this: How to do TDD in Javascript with QUnit ;-)
I think the value is in explaining your TDD workflow. For some people struggling to "get" TDD, this is a nice example of how you're supposed to think about writing code while using that approach. I think it applies to any language, you could easily replace the Javascript in your post with C# and you would still take the same approach and end up the same.
Makes me want to run through some Katas myself.