Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Why I learn a language.

by Zaxo (Archbishop)
on Feb 24, 2003 at 09:20 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found