Syntactic Confectionery Delight | |
PerlMonks |
Re: What are the core points of good procedural software design? (functions, code structuring)by jimX11 (Friar) |
on Jun 23, 2008 at 13:31 UTC ( [id://693520]=note: print w/replies, xml ) | Need Help?? |
Code maintenance and good design are different tasks. New maintenance programmers often want elegant code, leading to the "let's just redo it all" idea. That's often much harder than just getting the new feature in place. When I add a feature to existing code I often use the sprout object (or method or function) technique:
Then you have some tests for the legacy code and you have new elegant code with tests too.
In Section
Seekers of Perl Wisdom
|
|