in reply to Re^3: Perl is dying
in thread Perl is dying
Perl beats Ruby for such tasks for the following three reasons: people already know Perl, there are more (and better) libraries for Perl, and Perl is somewhat faster on benchmarks. Those are listed in what I believe to be decreasing order of how commonly they come up.
Note that I did not include in the list that Perl is better for text manipulation. That is because I believe it isn't. Ruby can generally express the same concepts as concisely or more concisely than Perl. Ruby has several nice features that Perl does not, for instance I like the fact that Ruby natively lets you iterate over the lines in the string. And Ruby avoids some gotchas that Perl has, for instance using $& somewhere in your program doesn't slow down every other regular expression like it does in Perl.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Perl is dying
by webfiend (Vicar) on Jul 14, 2006 at 22:00 UTC | |
Re^5: Perl is dying
by zby (Vicar) on Jul 15, 2006 at 19:20 UTC | |
Re^5: Perl is dying
by demerphq (Chancellor) on Feb 10, 2007 at 16:36 UTC |