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

Yes.

Replies are listed 'Best First'.
Re^4: perl python compare
by Anonymous Monk on Apr 07, 2011 at 02:53 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.