« Kata Ten: Hashes vs. Classes | Main | Kata Eight: Conflicting Objectives »

January 28, 2007

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451c41c69e200d83572af4069e2

Listed below are links to weblogs that reference Kata Nine: Back to the CheckOut:

Comments

Dave Aronson

Finally got around to abstracted version (using Strategy Pattern), at http://www.codosaur.us/2010/11/code-kata-nine-supermarket-checkout.html . Got sidetracked by a few other things in the meantime, and posted about some of them....

Stdout

I finally uploaded a 20" screencast for the Checkout-Kata: http://www.vimeo.com/11604377
It was the result of a Kata session we did at the Jax-conference in germany this year.

There are thousand TDD-aspects i'd still love to improve, but i like the decoupling of cart and rules in this implementation. Basically the cart allows the rules to select which items they want to bill. Nice side effect: the cart items ("A", "B",... in my case) can be replaced by any other object and the code should still work. :-)

I did this Kata about 20-25 times with 3 or 4 different approaches.

Dave Aronson

Just posted a *non*-abstracted version (intending to show the difference with an abstracted one to be posted later), in Ruby, at http://www.codosaur.us/2010/09/code-kata-nine-supermarket-checkout.html .

grow taller

I came up with about four implementations of the "buy x units, get y units free".

I'll enjoy this one.

ClubPenguin

This one does offer many opportunities to refactor the code as you go.

Rudy Lattae

I'm approaching this from a BDD angle in C#.Net When I worked through the Week 1 "Thinking / modeling" kata, I came up with about four implementations of the "buy x units, get y units free".

I'll enjoy this one.

Luke

This was a nice one, i developed my soultion using TDD in C#.Net

Michael Finney

I liked this one a lot. This one does offer many opportunities to refactor the code as you go. Very nice!

The comments to this entry are closed.