Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Good practice for OO module defaults

by tobyink (Canon)
on Apr 10, 2019 at 14:02 UTC ( [id://1232402]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Good practice for OO module defaults
in thread Good practice for OO module defaults

Sure, if an attribute's default value is going to be based on other attributes, then make it a lazy default. For most people, that's a minority of attributes though.

  • Comment on Re^4: Good practice for OO module defaults

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found