Drawbacks of Moose
Why you shouldn't use Moose?
- Moose has a fairly heavy compile-time cost.
- Not appropriate for non-persistent environments (vanilla-CGI, etc.)
- We are looking into using .pmc files to reduce this burden.
- Some Moose features can be slow at times.
- However speed is directly proportional to the amount of features used.
- Nothing is life is free.
- Extending non-Hash based classes is tricky.
- The most common example is the IO::* family of class.
- I recommend Class::InsideOut or Object::InsideOut for this (or delegation, however ...).
- Some delegation features do not play well with AUTOLOAD
- AUTOLOAD is evil anyway :)