What I'm going to do is more or less randomly say what I think about these
things. (Why should today be any different?)
On Tuesday, October 26, 2004, at 12:30:01 AM, Amr Elssamadisy wrote:
> What I would like to do is design a few experiments to answer some questions
> empirically instead of anecdotally such as:
> 1) Does evolutionary design consistently produce better designs than
> BDUF?
Surely the context, and least the individuals and their skill levels, and
their dedication to the practices must matter.
Surely any BDUF design done by anyone other than G*d will be imperfect. If
we evolve one of those imperfect bits to be better, can we not trivially
guarantee that ED > BDUF?
> 2) Does the constant refactoring really make up for the 'rework' done
> - or is it sometimes better to do BDUF - if so when?
Precursor questions: To what extent in ED is refactoring "rework"? How much
of it is just addition of capability that wasn't there before, i.e.
something that could have been added in a more BDUF situation but where the
investment was "merely" deferred? How much of it is replacement of a simple
stop-gap implementation with a larger more complex one? How much of it is
replacement of some large thing with an equivalently large thing that takes
the same kind of creativity and hard work as creating the first one? How
much of it is done almost by rote rather than by the same kind of
creativity as created the thing in the first place?
> 3) Does TDD and [BDUF] really produce the same solution? (with all levels
> of developers?)
TDD doesn't even produce the same solution for me every time I solve the
same problem. I know a zillion ways to do the Bowling Game, which is just a
few lines of code. I always get a design which I consider good, but it's
different depending on whether I was looking for something very OO, or
something really simple, or whether I wanted intermediate scores, or
whether I thought it would be interesting to try Futures or some other
potentially helpful pattern.
So the same solution? I frankly doubt it. But do we want the same solution?
Or do we just want any good solution?
Precursor question: What constitutes a good solution?
> 4) Can we actually get a measurable difference?
Can you really step in the same river twice? Can you, and I, really step in
the same river twice? Can Team A and Team B really step in the same river
twice?
> So, with that said - I would appreciate any views/feedback on:
> 1) Definition of evolutionary design.
Creation of an Evolutionary Product consists in producing "complete"
running versions of the product, each with more and more of the "desired"
functionality.
If the design for each of those versions is "just sufficient" to be a "good
design" for that version as if that functionality were all that was needed,
then the design will become "larger" and "more robust" as the versions come
out.
That trajectory of design change is called "Evolutionary Design". This is a
misnomer, in that it suggests that there is no guiding hand for the design.
On the contrary, this kind of design takes a lot of thought, every day. We
think that's better than doing a lot of thought only for the first
one-third of the project.
> 2) Does it work for you? If so great, if not also great - why or why not?
Yes, it works for me, because whenever I'm faced with a program, I can see
[pretty well] some of its inevitable imperfections and am moved to improve
them. When I focus on the features that are needed, I can see [pretty well]
which aspects of the design are not as helpful for those changes as they
might be. I can see [pretty well] some changes to the design that would
make the work in hand easier, and I can [pretty well] choose which ones to
make and which ones to defer.
> 3) Are there any unanswered or nagging questions/assumptions that you have
> or have seen and are wondering if it really is true or not - and if so under
> what circumstances?
Is it possible to transform any design to any other, through a series of
small refactorings, such that the program is "broken" for only a short time
(a day or less)?
Is it possible to transform any design to a sufficiently better one,
through such a series?
To what extent do local actions such as removal of duplication and good
naming produce globally good design?
Is the preceding even a valid question, or does it reflect a metaphor that
isn't really what I do when I seem to be producing globally good design
while thinking about "nothing but" local actions?
> 4) Is this train of thought interesting to anyone but myself?
Yes.
Ron Jeffries
www.XProgramming.com
Accroche toi a ton reve. --ELO
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]
ad-free courtesy of objectmentor.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/extremeprogramming/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/