[Mono-devel-list] Comparing against null

Ben Maurer bmaurer at ximian.com
Thu Apr 7 13:19:55 EDT 2005


On Thu, 2005-04-07 at 19:08 +0200, Joe Ante wrote:
> Ben,
> >> In the general case i agree but i think for what we are doing it makes
> >> obvious sense to compare against nulll and return true if the C++
> >> representation is not around anymore, since it will generate exceptions if
> >> you use it anyway.
> > This usage lies somewhere in the gray, murkey watters between ugly and
> > wrong. I'd advise you find some other way to do what you want.
> I disagree but do you have a better suggestion?

Not specifically.

-- Ben




More information about the Mono-devel-list mailing list