in reply to Re: rebuilding working code
in thread rebuilding working code
I think the idea that rewriting from scratch is good is one of the myths open source developers tell ourselves.
That's an excellent point, and I should probably have it tattooed inside my eyelids.
More specifically (or more agile-methods-dogmatically, I suppose), not being able to change bits and pieces of your code on an as-needed basis probably means that there's something missing from your project: a proper revision-control system, for instance, or an adequate test suite. Instead of throwing out your existing codebase (which probably does a lot of things right) and rewriting it from scratch, you might be better off asking "Why can't I refactor the existing code?" and acting on the answer.
On the other hand, "Plan to throw one away; you will, anyhow." Arguing with Brooks about software engineering practice feels sort of like arguing with Knuth about typesetting software. If your code does absolutely (or even nearly) nothing right, and you don't mind losing a mildly functional program while you recreate infrastructure, treating the current version as a giant prototype and starting again could be the right thing to do. Chances are good that this sort of thing is easier to do with a personal project than with mission-critical business code.
--
F
o
x
t
r
o
t
U
n
i
f
o
r
m
Found a typo in this node? /msg me
% man 3 strfry
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re(2): rebuilding working code
by chromatic (Archbishop) on Jun 02, 2004 at 20:42 UTC | |
|
Re^3: rebuilding working code
by adrianh (Chancellor) on Jun 02, 2004 at 22:38 UTC | |
|
Re: Re(2): rebuilding working code
by rje (Deacon) on Jun 03, 2004 at 18:37 UTC |