Re: how many bugs do you find and correct during TDD?

jgrigg_at_mo.net
Date: 01/16/05


Date: 16 Jan 2005 09:42:08 -0800


>> Eisenhower once said: "In preparing for battle I have always found
>> that plans are useless, but planning is indispensable."

With battle and vacation plans (as if there was much of a difference!
;-) planning can be useful, even if reality turns out different than
the plan. This is why: If you list most of the things that are likely
to happen, and prepare to handle any of them (and a few combinations),
then it's likely that you'll be sufficiently prepared, in terms of
available time, materials, and other resources, to handle whatever
actually does happen.

Example: The car might break down. So you bring extra money and plan
for some "slack" in the schedule -- just in case.

Actually, the car doesn't break down. But someone gets really sick and
must visit the hospital. Well, that extra money and time turn out to
be useful.

The best value of up-front planning is that it helps you prepare for a
variety of things, both planned and unplanned, that might happen. The
problem with BDUF in software is that you don't really know what's
likely to happen; there's just too wide a range of possible events.
And aside from having a big cushion of time and money, preparing to
handle one possible problem won't help you much with other unrelated
problems that might occur. So BDUF is helpful in travel (and war), but
not very helpful or efficient in software development.



Relevant Pages

  • Re: Lisps future
    ... like lack of planning or lack of concentration on the task at hand. ... People who plan compulsively are usually the kind ... action taken for a given purpose does or does not provide feedback to ... best thought of as a systematic approach to respond to objections, ...
    (comp.lang.lisp)
  • Re: Detail first? Or Big Picture?
    ... building a garden shed then you can get away without planning. ... But if you build a house ... no one would ever plan a house with the idea ... Spot on with that "meetings" psyche! ...
    (microsoft.public.vb.general.discussion)
  • Re: Could someone please read this?
    ... I'm not *talking* about randomness. ... Not only without planning before sitting down, but without having the foggiest notion what was going on in the plot until well over halfway through. ... At some point you decide what to write, and that I call a plan. ... Making a decision what to write does *not* work brilliantly for *everyone* who writes, any more than writing every day works, or writing 50,000 words a week for two weeks and then partying for three months, or writing a book backwards works for *everyone*. ...
    (rec.arts.sf.composition)
  • Re: Detail first? Or Big Picture?
    ... building a garden shed then you can get away without planning. ... But if you build a house ... no one would ever plan a house with the idea ... architect spent a lot of time dealing only with the planning level. ...
    (microsoft.public.vb.general.discussion)
  • Re: Storage building siding options...Hardiboard?
    ... I plan to build two simple swinging 2' x 6' doors for the ... Planning is the key. ... After I poured the cement for mine, it took about 3 weekends to get it finished. ... garage door and wiring inside took most of one of the weekends. ...
    (alt.home.repair)