go ahead... be a heretic | |
PerlMonks |
Are many use statements a code smell?by rlb3 (Deacon) |
on Jun 12, 2005 at 13:00 UTC ( [id://465945]=perlquestion: print w/replies, xml ) | Need Help?? |
rlb3 has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, In my quest to become a better programmer I've been studying Design Patterns. In one of the programs I've been refactoring has many classes.
The use of so many ‘use’ statement seems like it will come back to haunt me one day. Is this is telling me to use the Factory pattern or at least implement plugins? And if it is, is the use of so many ‘use’ statements always a sign. If not, what are the signs? Thanks, Updated title as suggested by demerphq.
Back to
Seekers of Perl Wisdom
|
|