Loading ...
Sorry, an error occurred while loading the content.

Re: [XP] Wanted: Something LIKE the Bowling Game

Expand Messages
  • Matteo Vaccari
    ... Hi Andrew, thank you! Matteo
    Message 1 of 8 , Jun 20, 2010
      On Thu, Jun 17, 2010 at 9:17 PM, Andrew <ajwall.geo@...> wrote:
      > --- In extremeprogramming@yahoogroups.com, Matteo Vaccari <vaccari@...> wrote:
      >> On Wed, Jun 9, 2010 at 4:57 PM, George Paci <gpaci@...> wrote:
      >> > All,
      >> >
      >> > I'm going to be running a hands-on session to give people a chance
      >> > to experience test-driven design.  The traditional problem to give
      >> > them is the Bowling Game, which has a lot of nice features such as
      >> > being moderately complicated, not depending on some monstrous
      >> > framework or library, and having strong associations with beer.
      >> >
      >> > On the other hand, anyone who's interested enough in TDD to come to
      >> > a hands-on session has probably already been exposed to the Bowling
      >> > Game, and may have actually tried it.  It'd be nice to have either a
      >> > next step or an alternate step for anyone in that position.
      >> >
      >> > So: does anyone have a teaching problem *like* the Bowling Game in
      >> > important respects?  You don't have to limit yourself to field-tested
      >> > ideas, just note whether you've actually tried it or not.
      >> Hi George,
      >> if your audience are not really new to TDD they might enjoy doing an
      >> exercise like the OCP kata, which makes the participants work their
      >> object-oriented design muscle.  It's described in my blog post [0] and
      >> there's a nice presentation by an XPUG friend here [1].  The OCP kata
      >> rules avoid the effect that all work happens in a single object, which
      >> often happens with code katas.  We ran this kata twice with the Milano
      >> XPUG.
      >> Matteo
      >> [0] http://matteo.vaccari.name/blog/archives/293
      >> [1] http://www.slideshare.net/giordano/xpug-coding-dojo-katayahtzee-in-ocp-way
      > Hi Matteo,
      > Thanks for the link to your blog.
      > I must say that this *is* exactly the way we should program.  I can see how you can very quickly get to the stage of simply adding classes to pass each new test.
      > Not only does this conform to OCP, it means each class is likely to conform to SRP - something I've struggled to do.  In fact, you've covered most of the SOLID principles in one go!
      > Andrew Wall

      Hi Andrew,

      thank you!

    Your message has been successfully submitted and would be delivered to recipients shortly.