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

Re: If I was forced to program in another language, the Perl language feature I would miss most would be:

by ailivac (Sexton)
on Oct 22, 2006 at 05:14 UTC ( [id://579830]=note: print w/replies, xml ) Need Help??


in reply to If I was forced to program in another language, the Perl language feature I would miss most would be:

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.

  • Comment on Re: If I was forced to program in another language, the Perl language feature I would miss most would be:

Replies are listed 'Best First'.
Re^2: If I was forced to program in another language, the Perl language feature I would miss most would be:
by ank (Scribe) on Oct 22, 2006 at 09:26 UTC
    Definitely the ease to create and modify data structures using hashes, lists, etc - especially using [], {} and such.
    What, Java? Use XML? No, not for this task, thank you! And go back to sit in your corner, please.
    What, C++? Roll my own solution? Are you nuts? Go back to playing with your toys - STL and Boost are missing you.

    -- ank

Log In?
Username:
Password:

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

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

    No recent polls found