4 ms·
> I actually consider Python OO kind of weak, but it's definitely better than Perl's AFAICT. Another comment on this was downvoted, because it was unkind, but
by Mithaldu 10y ago
> I actually consider Python OO kind of weak, but it's definitely better than Perl's AFAICT.
Another comment on this was downvoted, because it was unkind, but the point it made is correct:
That statement of yours there is entirely wrong. Python's OO is what it is and it's largely static. Perl's OO however consists, at the language level, of building blocks that are very low level. That does not mean Perl's OO is bad however, since in the year 2016, you rarely operate at that level. Instead you use Moo or Moose, which take these building blocks and provide an OO API that is better than most competitors' OO APIs.
Have a read through this, and try and see how much code you'd need to write in other languages to duplicate the entire range of features you see in the code samples: https://metacpan.org/pod/distribution/Moose/lib/Moose/Manual.pod https://metacpan.org/pod/distribution/Moose/lib/Moose/Manual...