in reply to •Re: Copying Objects
in thread Copying Objects
For this particular app (its a multi-language code generator for process control modeling) I don't really have a lot of hierachies unfortunately. But, about the third time I cut and paste my generic copy() function I figured there must be a better way.
I like your copy verion - it is much more compact. I think next time around I would abstract everything from a 'mother of all objects' class.
It's still too bad the language doesn't build something in.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: •Re: Copying Objects
by merlyn (Sage) on Jul 17, 2003 at 15:09 UTC |