|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: •Re: Re: •Re: On gotoby djantzen (Priest) |
| on Mar 01, 2003 at 06:23 UTC ( #239669=note: print w/ replies, xml ) | Need Help?? |
|
What are your thoughts on using it in constructors of hash or array based objects for purposes of clarity? For example:
Where 'foo' and 'bar' may be initialized during the course of the program, but not at construction. To me, this makes it more clear what an instance of this class consists of. It also can make debugging easier if you are fond of Data::Dumpering as I am.
"The dead do not recognize context" -- Kai, Lexx
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||