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

Re^2: The speed of blessed hashrefs, the power of Moose - how to get both?

by dynamo (Chaplain)
on Nov 20, 2011 at 19:55 UTC ( #939103=note: print w/ replies, xml ) Need Help??


in reply to Re: The speed of blessed hashrefs, the power of Moose - how to get both?
in thread The speed of blessed hashrefs, the power of Moose - how to get both?

This is a very important point, it's a stacked comparison. You can either put in checks in the hashref (though it might provoke argument over what exactly would be equivalent), or you can take out the checks from Moose.


Comment on Re^2: The speed of blessed hashrefs, the power of Moose - how to get both?
Re^3: The speed of blessed hashrefs, the power of Moose - how to get both?
by ForgotPasswordAgain (Deacon) on Nov 23, 2011 at 23:55 UTC
    If you're going to take the checks out, why use Moose? Seriously, just use a href directly. (When do you really need method calls to attributes? Encapsulation? Hello, mantra. You're adding these unnecessary layers when you don't really need it. If you need it later, add it later! Perl is not compiled. Why are you creating a static API?)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-04-24 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls