Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
First of all, I program for fun! This obviously yields a very different story than when you have to "get the job done".

The objectives I have when I write vary a lot, but usually include one or more of:

  • Use of some specific language features I want to explore
  • Some abstract "beauty" criteria (which may have nothing to do whatsoever with readability)
  • Occasionally complexity or obfuscation
  • Shortness (especially when golfing, but in regular code I'm also opposed to verbosity)
  • Elegance of the external interface
  • Speed optimization (when I'm in the mood; rather than when it's useful to do so)

About two months ago I decided that perl was a useful thing to know. I already knew heaps of different languages before i learnt perl (REALbasic, C, C++, Objective C, FORTH, PPC assembly, PostScript, HyperCard, Frontier, AppleScript, INTERCAL, Unlambda, and bits and pieces of other languages like Java, Scheme and Prolog) so I was able to learn perl quickly from the manpages (including perldelta to check on the latest features ofcourse :-)

While learning perl I got involved in some perl-golf sessions on irc. Soon after that I started doing real stuff (co-authored Attribute::Property, joined perlmonks, wrote Data::XDumper, and wrote this reply to your meditation.


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

Title:
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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found