Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Should MooseX::StrictConstructor be part of Moose itself?

by sundialsvc4 (Monsignor)
on Nov 16, 2013 at 00:16 UTC ( #1062825=note: print w/ replies, xml ) Need Help??


in reply to Should MooseX::StrictConstructor be part of Moose itself?

I would say that this sort of thing probably should be discussed in some kind of a “best practices” (or “highly-recommended possibilities”) section within the Moose documentation ... rather than trying to incorporate it into (“so there!!”) an already rather-weighty system.   We should, in our documentation, strive to guide the Gentle Reader, both to a proper recognition that these issues exist, and to some “really-good food for thought” concerning what to do.   Shove the issue into his face, then point him (directly...) to Strict, and to Slurpy.

For one thing, we should be pragmatically mindful about the impact of “prior art.”   It’s too late to dictate what shall be done.   There’s already “too much Moose code out there in production.”   Even if we did now try to fold this particular feature “into Moose,” this act will not have so much impact today as it would have had before Moose seriously began to take off.   We can, and should, strive to influence future code, but there is already a build-up of legacy code here.   Human decisions are going to play a major part from now on, so we should strive to inform ... but, to mandate ... those decisions.


Comment on Re: Should MooseX::StrictConstructor be part of Moose itself?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-09-17 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (78 votes), past polls