in reply to InsideOut - even tighter coupling
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: InsideOut - even tighter coupling
by linux454 (Pilgrim) on Oct 13, 2003 at 14:13 UTC | |
by Aristotle (Chancellor) on Oct 13, 2003 at 17:45 UTC | |
Re: Re: InsideOut - even tighter coupling
by MidLifeXis (Monsignor) on Oct 15, 2003 at 17:10 UTC |
In Section
Seekers of Perl Wisdom