"be consistent" | |
PerlMonks |
Re: InsideOut - even tighter couplingby yosefm (Friar) |
on Oct 13, 2003 at 07:39 UTC ( [id://298785]=note: print w/replies, xml ) | Need Help?? |
I'm just interested: how will methods access other private variables, and if you even want that in your code? If you only use methods as accessors, then this is not a problem. but if your methods actually do something useful, they often need access to private variables. And then what? I see a lot of nodes here on PM that treat methods as accessors only, which is defenitely not the case in good OOP, IMO.
In Section
Seekers of Perl Wisdom
|
|