comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Copying an object
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Copying an object [message #16983 is a reply to message #16981] Thu, 02 September 1999 00:00 Go to previous messageGo to previous message
Nick Bower is currently offline  Nick Bower
Messages: 43
Registered: June 1999
Member
you'll have to pardon my ignorance here, but I'm guessing that copying
an existing object is, on the whole, performed less that instantiating a
new one. So why not just inherit from the one or two objects you are
likely to want to ever duplicate and add in a "duplicate" method to the
new child class. wouldn't that make for safer code in the long run than
trying to cover all bases with a universal object copier? just curious
:)

nick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: objarr
Next Topic: Re: simple question about bytes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:34:29 PDT 2025

Total time taken to generate the page: 1.76345 seconds