Hey Me,
Saturday, June 16, 2001, 2:03:07 PM, you wrote:
>> My next direction is OOP, but I have found it to be a
>> little beyond my grasp each time I try. Maybe with this
>> list's help I can get it.
M> First you have to unlearn.
M> Imagine you knew nothing about programming.
M> Now, I introduce a thing called a variable:
M> my Dog $spot;
M> (ok, the current syntax is different, but let's ignore that.)
M> Accept the natural English reading of this.
M> One would not be too surprised to see that followed by:
M> $spot->bark;
M> or
M> $spot->hair(long);
M> One would also not be too surprised to hear that you
M> don't have to write the recipe for bark and hair -- that
M> this is something known by all Dogs.
M> And that:
M> my Dog $rex;
M> has a hair length independent of $spot's.
M> Imo, that's pretty much all there is to it. Everything
M> else is just icing on the OOP cake (more functionality)
M> plus the concrete syntax (a little daunting at first).
M> (Please, no wars about definitions of OOP. For example,
M> it's been clear for more than 10 years that inheritance is
M> most definitely not an essential ingredient of strong OOP.)
Thanks, that helps. Now back to the OOP book (again) and see if it
still makes sence. :-)
--
[EMAIL PROTECTED]
Using The Bat! eMail v1.53bis
Windows NT 5.0.2195 (Service Pack 1)
Stare at people. It’s cheap entertainment.
NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net