Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^4: OO: how to make a generic sub (use roles or inheritance)

by BrowserUk (Pope)
on Jun 27, 2013 at 20:45 UTC ( #1041096=note: print w/replies, xml ) Need Help??

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.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041096]
[thezip]: That's awesome. I bet you feel totally rejuvenated and ready for the next thing.
[stevieb]: A couple of years ago I went to Curacao on a business trip which is a few parallels south of Canary Islands, but one thing I liked was it was 90 degrees at all times consistently. Much different experience than living in Canada :)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2017-02-23 17:09 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (349 votes). Check out past polls.