in reply to Re: perl python compare
in thread perl python compare

Do you realize that the thread is almost a decade old.

Replies are listed 'Best First'.
Re^3: perl python compare
by moritz (Cardinal) on Mar 29, 2011 at 07:01 UTC

      In the intervening decade, Python has steadily gotten more popular, has gotten more packages (though still not as many as the CPAN has), and has released Python 3 (which breaks backward compatibility (not too badly), but cleans up the language in some areas that needed it).

      Likewise, in the past 10 years, Perl 5 has accreted more modules to help make Perl 5 more modern and attractive (while maintaining backward compat).

      To the OP I'd say:

      • Perl 5 compared to Python: it's a toss-up. Python is more modern, but Perl 5 is good once you drag in a big pile of CPAN modules to fix it up. Perl 5 still beats Python at string processing and also at having more usable and practical modules to get your job done. Python is simple and easy though, which counts for something.
      • Perl 6 compared to Python: Perl 6 does look pretty damn amazing. Though, right now it needs docs and performance before it can be compared to Python.