Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Why I learn a language.

by Zaxo (Archbishop)
on Feb 24, 2003 at 09:20 UTC ( #238063=note: print w/ replies, xml ) Need Help??


in reply to Why I learn a language.

My original reason for learning Perl was, I think, typical. I'd landed a job doing CGI, and I imitated people who had done that sort of thing before by deciding on Perl for the task. Knowing C/C++ already, the syntax was not too difficult to learn, and my errors led to deeper study. I became fascinated with TIMTOWTDI and dwimmerie, and learned to appreciate the linguistic elegance of well-written Perl. CPAN gave me the leverage to exercise high laziness. Perl has become my primary language for most purposes.

The richness and depth of fluent perl is a great pleasure, and something I very much want to attain. Perlmonks has helped me a lot towards that goal.

Correctness is the paramount goal when I write code. I try to check for errors from system calls and respond appropriately. I try to keep my eyes open for corner cases and other error-prone constructs. I find that writing test code is the most useful strategy for getting a job done correctly.

I do think about code efficiency, but I try to avoid early micro-optimization. I try to write code that gets the job done minimally, doing no more work than necessary. I find that a few minutes thought, followed by writing minimally on the first cut, is sufficient and not too expensive in my time. Further attention to speed and memory requirements is postponed until testing shows where improvement is needed.

After Compline,
Zaxo


Comment on Re: Why I learn a language.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-11-23 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls