Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl High School Graduation

by Zaxo (Archbishop)
on May 20, 2002 at 02:10 UTC ( [id://167755]=note: print w/replies, xml ) Need Help??


in reply to Perl High School Graduation

I'd suggest concentrating on references. They are more general and more fundamental than objects. The idioms of "pass by reference" vs "pass by value" and the related issues of aliasing vs deep copying are of prime importance in any serious programming environment.

Object oriented programming is a very useful technique, but it's not the only such useful concept. That objects in perl are implemented as references to data structures is good for motivation, but facility with references is more important, in my opinion.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: Perl High School Graduation
by hsweet (Pilgrim) on May 20, 2002 at 12:07 UTC

    I plan to start with references. I'm at the point where I can use them, but don't totally understand them. I figure the pressure of having to explain them to a (small) class might push me over the edge. (one way or the other)

    I don't think I'll be able to teach anyone how to write objects, but I do want my students at least to be aware that they exist, know them when they see them, and be able to start to use pre-written modules like CGI

    Ignorance with Confidence
Re: Re: Perl High School Graduation
by hsweet (Pilgrim) on May 20, 2002 at 12:19 UTC
    oops in the non-oops sense...I forgot that I hadn't posted the reference page I wrote...and now have the wrong disk at work..That will be up tomorrow. I did write it though and planned on starting there. Ignorance with Confidence

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://167755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-16 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found