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
In reply to Re: What is maintainable perl code?
by derby
in thread What is maintainable perl code?
by disciple
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |