I think the person who wrote the line you quoted meant to say "implement 
IDisposable but not finalizer" (as recommended by Ian G for many cases).  After 
all, you can't implement "disposable pattern" without having a finalizer.

At 03:11 PM 1/26/2005, Paul Mehner wrote
>> All the rest can implement disposable pattern but not finalizer
>
>Yes, all the rest *can* implement this disposable pattern, but the true
>question is *should* they. The IDisoposable code pattern was never meant to
>be implemented by all (or even a majority) of your classes. The garbage
>collector was designed to negate the need for such coding. To suggest that
>"all the rest" can implement the disposable pattern might confuse some
>developers into thinking that they *should* implement it everywhere (as the
>post that started this thread seemed to advocate). Developers should only
>implement the IDisposable code pattern on classes that require deterministic
>operations or for which there is a clear and compelling benefit.
>
>Cheers!
>
>--Paul Mehner


J. Merrill / Analytical Software Corp

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to