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 ( #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
Node Status?
node history
Node Type: note [id://930083]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-12-27 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls