Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Re: Where/When is OO useful?

by Anonymous Monk
on Aug 28, 2002 at 03:16 UTC ( #193347=note: print w/replies, xml ) Need Help??

in reply to Re: Where/When is OO useful?
in thread Where/When is OO useful?

Nice. Do you also have recommendations for keeping everything as neat and tidy while adding persistence? I've managed a few simple cases with Storable hooks, but dependencies on the ancestor class beyond just its api seem to be rearing their heads again :-(

Replies are listed 'Best First'.
Re: Where/When is OO useful?
by Abigail-II (Bishop) on Aug 28, 2002 at 07:53 UTC
    It shouldn't be too hard to write save and restore functions that dump the appropriate values of the hashes.

    And it's real easy to make class level save and restore functions that save/restore *all* the instances of a class.

    However, to do this right, you do need to cooperation of the classes you inherit....


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2023-10-02 21:21 GMT
Find Nodes?
    Voting Booth?

    No recent polls found