Linked by Thom Holwerda on Tue 11th May 2010 23:17 UTC, submitted by PLan
General Development "Lately, the Perl language has had less buzz surrounding it than many other languages and development environments, but Perl is still a key component on the Internet. For this guest post, we asked Jeff Hobbs, Director of Engineering at ActiveState, to weigh in on the topic."
Permalink for comment 424064
To read all comments associated with this story, please click here.
RE[2]: don't really agree
by vivainio on Wed 12th May 2010 20:57 UTC in reply to "RE: don't really agree"
vivainio
Member since:
2008-12-26


Personally I can do more of what I want with a few lines of Perl than the same lines of Python or Ruby.


The amount of characters is not what counts - rather, the amount of time it takes to write/debug the script, and the amount it will take to modify it later.

For some quick code or for analyzing and reporting I'd go with Perl.


Out of curiosity, what aspect of perl makes it preferable to python in this area? Regex support is pretty much the same, so it must be the built in reporting features?

One thing I think makes python preferable to perl even for the "dirty work" is the exception handling. In perl you'll either implement error handling yourself ("or die") or fail without explanation.

Reply Parent Score: 2