Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Think about Loose Coupling
 
PerlMonks  

tangent

by tangent (Friar)
on May 18, 2011 at 02:41 UTC ( #905403=user: print w/ replies, xml ) Need Help??

I am not really a 'programmer' in the sense it is used here. I studied English and IT for the Humanities and work in publishing. I came across Perl by looking over the shoulder of a programmer who had come in to do our CGI magic. I went and bought a book called "Perl 5 Complete" which was full of errors and drove me mad. The camel arrived just in time.

The only other programming language I have used is HyperTalk (and it's descendant Lingo). I am also familiar with Logo, an educational tool which I came across through the work of Seymour Papert. My early Perl stuff reads like HyperTalk with a few sigils thrown in, and treating the computer like you would a child.

One day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" --Larry Wall
I like cute method names like natatime(n-at-a-time), onomatopoeic ones like chomp(), and "don't mess with me" ones like splice() and reduce().

Illuminating facts about Perl: (work in progress)

Illuminating perlmonks nodes: (work in progress)

Favourite Larry Wall quote:

Part of what's confusing the issue is that DESTROY is a verb. It was done that way by analogy to FETCH and STORE, but the use of a verb is unfortunate, in retrospect. I should have named it something like YOU_ARE_ABOUT_TO_BE_SHOT_DO_YOU_HAVE_ANY_LAST_WORDS.

Just as an object oriented design will often separate initializers from constructors, it will also separate finalizers from destructors. DESTROY is designed to be a destructor that can call a finalizer, but to confuse it with a finalizer would be, er, confusing.

Bearing in mind I'm no expert, I offer these tips to budding object oriented programmers:

  • use parent
  • use Object::Tiny
  • use Config::Tiny
  • learn to roll your own - here's some baccy and some rizzla
  • draw diagrams on paper and keep above your monitor
  • it's all in the data (which is never quite what you think it is)

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2013-05-25 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (516 votes), past polls