in reply to Re: Perl and Objects, how do you resolve the two?
in thread Perl and Objects, how do you resolve the two?
Because it defeats the whole idea of having them. The point is you hide the information behind a method interface so if you change the structure of the object then you do not break the interface, there are other reasons but that is sufficient for now. If you have automatically generated methods (which if I understand correctly that is in effect what autoload does) changing the structure of the object will change the interface. Information hiding is a fundamental part of OO and it is not just about having methods to call, you need to understand what is under the hood. This is what I was refering to when I talked about questioning OO ask why why why. A cursory glance at OO is not sufficient.
--
Zigster
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 3: Perl and Objects, how do you resolve the two?
by tilly (Archbishop) on Apr 10, 2001 at 22:48 UTC | |
|
Re: (Zigster) Re: Re: Perl and Objects, how do you resolve the two?
by stephen (Priest) on Apr 10, 2001 at 23:09 UTC | |
by frankus (Priest) on Apr 11, 2001 at 14:22 UTC | |
by tilly (Archbishop) on Apr 11, 2001 at 22:02 UTC |