C#/Java have destructors...
Posted Mar 30, 2005 11:48 UTC (Wed) by
phgrenet (guest, #5979)
In reply to:
C#/Java have destructors... by pkolloch
Parent article:
Evidence that Python is advancing into the enterprise (NewsForge)
I think one problem with Java and C# is that they only allow allocation of objects on the heap. If you can allocate your object on the stack then there is no need to control what the GC is doing because you know exactly when the object will be deallocated. C++ and Lisp give you that choice.
(
Log in to post comments)