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

RE: [XP] tdd or spike - for efficient problem solving?

Expand Messages
  • Charlie Poole
    Hi, ... Spike and TDD are not opposites, they are orthogonal concepts. Many of us do spikes using TDD. ... That s a valid approach. So is doing it via TDD in
    Message 1 of 24 , Feb 20, 2009
    • 0 Attachment
      Hi,

      > Would you tackle a risky technical problem with a spike or TDD?

      Spike and TDD are not opposites, they are orthogonal concepts.
      Many of us do spikes using TDD.

      > When I tackle a new story, one of the first things I tend to
      > do is some exploratory programming to solve the crux of the
      > problem upfront.
      > This allows me to focus on the core problem and avoid
      > distractions of test frameworks, test design, etc. I treat
      > this as a spike - a time- boxed learning exercise and
      > throwaway the hacked code, then start over using TDD to
      > develop a better solution and to get all the benefits TDD brings.

      That's a valid approach. So is doing it via TDD in the first
      place. My own observation is that folks tend to use TDD more
      in spikes as they get better at it.

      > I was wondering if other TDD practitioners adopt a similar strategy.
      > Or perhaps the more disciplined TDD'er would argue that you
      > should solve the problem using TDD?

      There are no shoulds.

      Charlie

      >
      > ------------------------------------
      >
      > To Post a message, send it to: extremeprogramming@...
      >
      > To Unsubscribe, send a blank message to:
      > extremeprogramming-unsubscribe@...
      >
      > ad-free courtesy of objectmentor.comYahoo! Groups Links
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.