µObjects: Pizza Shop - Calzoned!

The pizza shop is expanding it's offerings! CALZONES! We'll do a 1/2 calzone and a full calzone! $8 and $14 respectively. Based on how we did the Medium pizza last time... Not expecting much work for these. Which... THAT'S THE POINT! µObjects make this easy. Removing a topping... Excellent. A new behavior. New behaviors are where modificaations get interesting. Medium Pizza and Calzones; that's more of the same behavior. [Read More]

Code Kata - Bowling BlackJack

As an exercise; I'm doing a CodeKata... well... working on extending a code kata via BlackJack. We've done the kata for Bowling. Now we're going to extend it to include BlackJack scoring. BlackJack is a fairly simple game to score. You have points between 1 and 11; you sum them. Right. Now make it do Bowling and BlackJack. Oh... As an added larf; Make it output FizzBuzz. Yes. I sometimes [Read More]

TDD Kata: Bowling Game

A week into the bowling game, the time it's taken me to complete the exercise decreased quite a bit from the first time I did it. Day 1: 60 minutes Day 2: 45 minutes Day 3: 30 minutes Day 4: 26 minutes Day 5: 15 minutes Day one Even though I was mostly following Uncle Bob's example to write the tests and understand the kata; it took me about an [Read More]

Katas

As I find and work through new Kata's to use at TDD Kata's I'll write up my version of the kata here. I expect most will be similar to the source I find; and I don't expect any to be original. Bowling Game Summary: Create program to score a bowling game. Bowling Info: A game consists of 10 frames. Each frame the player has two opportunities to knock down 10 [Read More]

Doing Katas

I never quite understood the practicality of Code and TDD Katas. The idea behind a kata is that you do it over and over and over... Until you can do it in your sleep. "Why would I want to code tic-tac-toe a thousand times over?" "Why build a bowling scoring program repeatedly?" Well... Yea. My mind's kinda changed. I've done some properly applied TDD in the [Read More]