|
|
|
|
|
by jimmytucson
5103 days ago
|
|
> What is modern Perl? Python.
Ah, 'fraid not.I am also a Perl to Python refugee. For most applications I get far more enjoyment out of Python. But try implementing Higher Order Perl in Python and you won't get past Chapter 1 without some weirdness. Using decorators, lambda, map, reduce, itertools, even generators all feel like bending over backwards to achieve what comes naturally in Perl. This isn't an attack on Python. I'm just saying, Python is not meant for functional programming any more than Perl excels at OO, and that's why I disagree with your thesis. |
|
Check Moose and related on CPAN, modern Perl has probably the best OO among the usual scripting languages (Python, PHP, Ruby, etc).