in reply to Structural Elegance
I have not completely bought into the XP way of doing things, but I find many of their arguments compelling. One is to never, ever scrap a project and rewrite from scratch. Rather, they advocate having a good test suite and then continually refactoring the code until it looks like you want it to. This doesn't mean necessarily stopping structural changes, just that they are tightly controled.
A system that is functional has one undeniable trait: it works. You may not like how it works. You may need to do extensive checks to make a two-line change. You may hate its user interface. But it works. Likely, the programmer before you had already encountered subtle issues in the problem domain that aren't immediately obvious. If you don't know about them, you'll end up hitting them in your new version. The result of these refinements may end up in a morass that is no better than the orginal.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Structural Elegance
by Tanktalus (Canon) on Apr 20, 2005 at 21:51 UTC | |
by hardburn (Abbot) on Apr 21, 2005 at 13:25 UTC | |
by Tanktalus (Canon) on Apr 21, 2005 at 14:12 UTC | |
|
Re^2: Structural Elegance
by samizdat (Vicar) on Apr 20, 2005 at 15:08 UTC |