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

comment on

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

Perl's way of creating and using data structures is one of my most favorite features. Once you learn the basics or arrays, hashes, and references, you can string them together to make any arbitrarily deep structure using very terse syntax. Writing in Java for school projects over the last 2 years, I spent most of my time reading through documentation about the myriad collection classes, some new and some leftover from older API revisions, catching exceptions that I knew would never get thrown anyway, and figuring out how many sets of parentheses I neede to use to typecast the result of a method call, instead of doing actual work. Perl usually stays out of your way and lets you concentrate more on important work rather than little technicalities. That also means that it can take a long time to learn how to do it right, and if you don't know what you're doing Perl will easily break and give you lots of weird errors (although I have to say C++ takes the cryptic-error cake). However, now that I've gotten to know Perl, as well as several other languages, Perl code is definitely quicker to write than anything else.


In reply to Re: If I was forced to program in another language, the Perl language feature I would miss most would be: by ailivac
in thread If I was forced to program in another language, the Perl language feature I would miss most would be: by grinder

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 lurking in the Monastery: (6)
As of 2024-03-28 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found