in reply to What is maintainable perl code?
It really doesn't matter what the language is (Perl, C, C++, Java, Python, etc) or the method (structural or object oriented). The key to maintainble code is decomposition (structural -> functions or subroutines, object oriented -> classes and methods) and ensuring your decomposed code follows the "High Cohesion/Low Coupling" mantra. Ensuring your methods/functions/subroutines/whatever do one thing well and "live" fairly independent (all necessary info is either "passed" in or lives within the object) is the nirvana of maintainable code.
-derby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: What is maintainable perl code?
by Django (Pilgrim) on Sep 20, 2002 at 09:34 UTC | |
by disciple (Pilgrim) on Sep 20, 2002 at 14:09 UTC | |
|
Re: Re: What is maintainable perl code?
by vek (Prior) on Sep 20, 2002 at 16:00 UTC |