Sockets and finalisation
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Jan 23 00:41:27 UTC 2004
On Jan 22, 2004, at 1:42 PM, Andreas Raab wrote:
> Finalization is
> sometimes understood to be "sort of" resource management but in almost
> all
> "real world applications" this won't work too well.
Here, here. I personally have received phone calls from the far side of
the world when folks have
abused finalization, then on production day realize it's "sort of"
I always say: objects get finalized "someday" in the future in a
different order than you expect, at
a different rate than you expect, and at a different time than you
expect.
Each of those 'expects' is cause for disaster.
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|