My Kingdom For ...

Robert Fraser fraserofthenight at gmail.com
Thu Feb 21 16:34:44 PST 2008


Janice Caron wrote:
> Of course, what I'd /really/ prefer is a runtime check (in debug
> builds only, of course) for all null dereferences. I see it as
> basically the same as array bounds checking - for speed, you don't
> want it in a final release, but during development, you sacrifice the
> speed and let the compiler help out. That would be useful, because not
> only would it catch ==null, but it would also catch .member and
> .func(), and you'd get a nice error message telling what line of what
> file threw the exception.

Emphatic "me too".



More information about the Digitalmars-d mailing list