[gclist] Finalization and object orientation.

Stefan Monnier monnier+lists.gc@tequila.cs.yale.edu
27 Mar 1997 21:11:43 -0500


Scott Meyer <smeyer@us.oracle.com> writes:
> as the cleanup-of-last-resort.  So, for example, Smalltalk
> will close a window if the corresponding object gets GC'd

This example is a bad one: closing a window is an action that has (usually)
quite visible effects. It's not like GC which is just supposed to provide the
programmer with the illusion of infinite (memory) resources.

This is not to say that its finalizer should not close the window, tho.


        Stefan