Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Good practice for OO module defaults

by tobyink (Canon)
on Apr 10, 2019 at 14:02 UTC ( #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
Node Status?
node history
Node Type: note [id://1232402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-07-12 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?