Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
  • 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.

In reply to Re: How Large Does Your Project Have To Be to Justify Using Moose? by elTriberium
in thread How Large Does Your Project Have To Be to Justify Using Moose? by jgamble

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found