in reply to Re^2: Moose warnings
in thread Moose warnings
I think this is a sign that Moose is enterprise-ready by cargo-culting things that Java does and telling the customer that the behaviour is what they should like.
Actually, Java makes stack traces optional, you only get them if you ask for them specifically, and people usually do ask for them since it makes debugging easier. The same is true with most any language which has first class exceptions. If I had to guess though, I would suspect that printing exception stack traces on error by default originated in Smalltalk before they showed up as optional things in Java, so you got your cargo sources wrong there.
Additionally we are not forcing this choice on our "customers" anymore (and haven't for a very long time). You can use Moose::Error::Croak if you prefer the shorter less tedious (but also less descriptive) error messages.
As for enterprise readiness, if a few verbose stack traces can help wear away the whole perception that Perl is dead and unmaintainable, then I am all for it ;)
|
|---|