> Tim Jarvis [EMAIL PROTECTED] wrote: > Firstly I agree with the sentiment that you should try and avoid creating objects
>> in one place and freeing in another ... This whole discussion is close to my heart. I've got a similar horrible situation where I've got a factory that produce objects that have 3D coordinates and these are passed around, may have their coordinates updated, and may end up get fed to a genetic optimiser, which may replicate the object (possibly many times) for the next generation. I've had to clone the objects which isn't pleasant. It's so easy with numbers/records and so messy with objects ... It's made me want to move to a language that has proper, transparent garbage collection. Anyone remember Lisp? Time to go out into the sunshine and forget about memory management :-) It's a glorious afternoon in Palmerston North - contrary to popular belief, we do have them ... Cheers Giovanni ===================================================================== Giovanni Moretti | Institute of Information Sciences and Technology Senior Lecturer | Massey University, Palmerston North, New Zealand Computer Science | Ph 64-6-3505799x2474 =Fax 64-6-3502259 == ZL2BOI ===================================================================== http://www-ist.massey.ac.nz/moretti mailto:[EMAIL PROTECTED]
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe