Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How Large Does Your Project Have To Be to Justify Using Moose?

by elTriberium (Friar)
on Oct 06, 2011 at 23:45 UTC ( [id://930083]=note: print w/replies, xml ) Need Help??


in reply to How Large Does Your Project Have To Be to Justify Using Moose?

  • Does the code use a lot of attributes with getters and setters?
  • Are you concerned that someone might break your code by inserting wrong values and you have to check for that?
  • Is it painful to add or modify some of the code?
  • Are you doing a lot of work manually that Moose could do for you?
  • Do you have multiple classes that need to communicate with each other?
  • Is there a lot of boilerplate-code that's there to glue the classes / methods / attributes together?
  • Would you benefit from things like Roles / Delegation / or any of the MooseX modules?
In my opinion these are some of the questions you should ask yourself. I don't think there's any general rule at which point you should move to Moose. In my opinion it's a stable OO system that (nearly) only uses features you can also find in other OO languages (so no magic introduction of new things). I prefer writing code using it, but as can easily be seen in this thread and many others, there are of course also other opinions on that matter.
  • Comment on Re: How Large Does Your Project Have To Be to Justify Using Moose?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-18 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found