Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??

I've not tried Moose. I've read up on it, tried some examples, but haven't done production code with it.

I think it's extremely interesting. The possibilities.. Autodocumentation.. hmmmm.. yummy!

If you want to learn perl, I get the feeling there are some down sides to using Moose.

  • You'll miss out on learning a lot of perl. Yes, you can learn this other ways. But having to actually learn how to build an OO class (perl module)- is priceless experience. Of course, it can be argued you shouldn't have to learn what you won't be learning right away.
  • Some people complain that it's slow.
  • Some people complain about the million dependencies it has- and installing them.
  • It's in development- Yes, but so is perl- right.. Well, I don't think I'm crazy saying that using perl's implementation of OO is more stable and dependable then using Moose right now.
    Perl's OO hack I think is elegant and simple.

That said.. That wouldn't stop me from using it - The thing will evolve and solidify as people use it and feedback to the developers.

In reply to Re: Modern vs postmodern? by leocharre
in thread Modern vs postmodern? by Anonymous Monk

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.