2 ms·
So does Perl5. And with a little help from CPAN, the same feature set. In fact, I'd argue that the Moose metaprotocol is substantially more powerful than the on
by mst 17y ago
So does Perl5. And with a little help from CPAN, the same feature set. In fact, I'd argue that the Moose metaprotocol is substantially more powerful than the one available in python - though if there's a python library that provides the same sort of level of capabilities, I'd love to hear about it - maybe we can steal some good ideas from them :)
- j_king 17y agoMoose is far more powerful than Python's model. Python seems to think it knows what's best for the programmer. Perl tends to think the programmer knows what's best for it. AFAIK there are no packages for Python yet that implement roles, multi-methods, and the like... yet. But Perl is already ahead of the curve in this arena. (I'm one of the rare few apparently who can speak Python and Perl fluently. I actually like both languages for entirely different reasons.)