Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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,

In reply to Re: Why I learn a language. by Zaxo
in thread Why I learn a language. by blackstarr

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-06-15 17:09 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.