in reply to Re^3: OO: how to make a generic sub (use roles or inheritance)
in thread OO: how to make a generic sub
Ultimately all of Moose can be implemented using basic Perl5 mechanisms. (Because all of Moose is implemented using basic Perl5 mechanisms!)
Yes, but it was the "simply implemented " bit I was drawing attention to.
It begs the question about the weight of Moose.
But Role::Tiny also gives you method conflict checking out of the box
That also can be done lightly:
It's not that it isn't convenient to have these small things done via a module; it's that whenever I peek inside those modules, they always seem to be implemented in such complex fashion. Both in their own code and that of the number and weight of their dependencies. It just all adds up to make things slow and cumbersome.
|
|---|