in reply to Re^4: Legacy Code: "Dominoes = Bad"
in thread Legacy Code: "Dominoes = Bad"
"Does the job". Requirements always change.Yeah, but you either know what's going to change (and then do it right the first time), or you don't (and then, how do you anticipate?)
Maintainability lends agility to codeEh, no. That's quite the opposite. Doing stuff now that isn't required is not agile. It's overhead. From The Agile Manifesto: Simplicity--the art of maximizing the amount of work not done--is essential. Anticipating to unknown future requirements does not lead to simpler code. Nor to less amount of work now.
Only maintainable, flexible code has any chance at all of being delivered on time while requirements keep changing.Wait. By doing more work now, it's going to be finished sooner? How does that work? In the same way that paying more taxes increases my spending power?
Only maintainable code can be easily tuned and adjusted to suit performance or resource constraints. Non-maintainable code locks in specific algorithms and inflexible use-cases.You got any data to back that up? Basically, you are saying it's impossible to write code that's fast enough, while it's not maintainable. So, code that's running fast enough, but of which the sources get lost (a real downer on its maintainability) suddenly slows down?
Poorly written code is just poorly written code.Sure. "X == X" statements (even if one does rephrase the second X -- which you don't even bother to) are known as tautologies. They are a rhetoric device, and actually contribute nothing to the discussion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Legacy Code: "Dominoes = Bad"
by armstd (Friar) on Apr 29, 2011 at 15:55 UTC | |
by JavaFan (Canon) on Apr 29, 2011 at 20:32 UTC | |
by Boldra (Curate) on Apr 30, 2011 at 06:51 UTC | |
by JavaFan (Canon) on Apr 30, 2011 at 13:24 UTC | |
by armstd (Friar) on Apr 30, 2011 at 14:55 UTC | |
| |
by armstd (Friar) on Apr 30, 2011 at 04:12 UTC |