in reply to Re^6: Legacy Code: "Dominoes = Bad"
in thread Legacy Code: "Dominoes = Bad"
The assertion that writing maintainable code implies more work is a falacy. It only implies different work, not more work.So, code that isn't written to be maintainable actually requires an additional effort? Curious. Can you elaborate, with some non-trivial examples? For instance, show me a method that does something non-trivial in the simplest possible way, then a maintainable version of it, and then show that it required no more work to write.
You cite the Agile Manifesto, but miss that the basic definition of agility is ability to change (direction, speed, etc).Ditching, rewrite, copy-paste-and-change-one-line are all change as well. It's usually not what people consider "maintainable".
The most common aspect of non-maintainable code that you'll find is poor design.Ah, yes, "poor design". What is poor design? More often than not people say "poor design" but they mean "I would have done it differently", or "I'm not smart enough to understand it". It's highly subjective.
Maintainable code is less work, not more.I'm calling your bluff. Show it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Legacy Code: "Dominoes = Bad"
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 JavaFan (Canon) on Apr 30, 2011 at 21:41 UTC | |
by Boldra (Curate) on May 01, 2011 at 19:19 UTC | |
| |
|
Re^8: Legacy Code: "Dominoes = Bad"
by armstd (Friar) on Apr 30, 2011 at 04:12 UTC |