|Think about Loose Coupling|
tangentby tangent (Friar)
|on May 18, 2011 at 02:41 UTC||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 WallI 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.
Bearing in mind I'm no expert, I offer these tips to budding object oriented programmers: