We don't bite newbies here... much | |
PerlMonks |
(jeffa) Re: When Is Dividing Code Into Different Subroutines/Packages Important?by jeffa (Bishop) |
on Jun 14, 2003 at 13:56 UTC ( [id://265896]=note: print w/replies, xml ) | Need Help?? |
When? When you have to maintain that code, especially
when others have to maintain that code. Of course,
merely using subs and packages does not guarantee robust,
reusable code, but when working on team with others,
proper decomposition (and a good API) is a must.
jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|