Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: O-O design, aggregation of objects

by dsheroh (Parson)
on Nov 08, 2008 at 16:28 UTC ( #722415=note: print w/ replies, xml ) Need Help??


in reply to Re: O-O design, aggregation of objects
in thread O-O design, aggregation of objects

...except that you can instantiate an object without calling ->new, so the infinite loops you mention are easily avoided.

I'd still say "no" to save-immediately-on-create because it's likely to result in a number of spurious database records being created. (I don't know about the OP, but I sometimes instantiate temporary objects which have no reason to be stored persistently.)


Comment on Re^2: O-O design, aggregation of objects

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-04-17 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls