[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] do... while? SPOILER



At 09:34 AM 7/4/99 -0700, Randal L. Schwartz wrote:
>I'm thinking of writing "Randal's Object Oriented Tutorial"
>(perlroot.pod) based on a summary of what I'm now teaching in my OO
>Perl class (and some of what I learned reading Damian's forthcoming
>book), but sadly it will probably never make the standard Perl
>distribution.
>
>For one thing, I've found that teaching things in this order one
>separate example at a time:
>
>     polymorphism

[snip]

The quandary I have with Perl OO classes is analogous to the problem with 
the beginners' class: is it a class for programmers who haven't learned 
Perl yet, or is it a class for people who haven't learned programming 
yet?  The two sets of people have very different needs, but it seems that 
no matter how the class is pitched, a sizeable number of people from each 
set will show up.

So for an OO class, the question is, is it a class for people who already 
know OO but not in Perl, or for people who don't know what OO is?  Perltoot 
is fairly obviously aimed at the former set of people but it appears 
inevitable that there will be attendees who don't know inheritance from 
encapsulation and need to have the OO light bulb turned on before this all 
makes sense.

The solution looks like it would be to offer a class preceding the Intro to 
Perl: "Programming Principles for Beginners" and likewise before the OO 
Perl: "Object-Oriented Principles for Beginners", but I have my doubts as 
to whether it would work...




--
Peter Scott
Pacific Systems Design Technologies


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe