On 5/14/05, Vince Bonfanti <[EMAIL PROTECTED]> wrote: > So when you say, "there's not meaningful way to generically clone an object > in meaningful way", the emphasis is on "generically". That is, the semantics > of cloning an object are specific to the object, not generic. If that's what > you mean, then I'd agree.
Yes, which is why it is often as much or more work to clone an existing object as it is to simply create / initialize it. The clone has to be created and then data initialized from the old object, something with additional logic to decide what to do on top of that. And, true, there are also cases where clone does less work if it only needs to shallow copy something rather than clone sub-elements. -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
