Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Honest question about Perl, Python and Ruby

by Preceptor (Deacon)
on Feb 07, 2015 at 17:17 UTC ( [id://1115862]=note: print w/replies, xml ) Need Help??


in reply to Honest question about Perl, Python and Ruby

Python is more popular these days, by some measures. I don't think that's really any sort of meaningful trend. I think the core reason is to do with first languages.

Python is more like Java, where Perl is more like C. The rise of Python I would surmise is correlated to the rise of Java. It's certainly true that a lot of the criticism I hear of Perl is that it inherit C's tendency towards making obfuscated code really easily. I can't really dispute that - there's some really amazing examples of inscrutable code out there. (My personal favourite is this one: http://www.perlmonks.org/?node_id=118799)

Of course, I also counter that assertion by pointing out that you can write bad code in any language. A good programmer doesn't. And for that, Perl is actually pretty good - you can write idiomatically good code that's very clear... if you care to.

I wouldn't say there's a winner or loser in this holy war. Python gains popularity, but Perl isn't going anywhere any time soon. Most things are starting to become API driven, so as long as you scripting language can speak to the internet, parse JSON and XML then anything else is a matter of personal preference.

  • Comment on Re: Honest question about Perl, Python and Ruby

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-25 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found