Null references redux

Walter Bright newshound1 at digitalmars.com
Sat Sep 26 14:51:12 PDT 2009


grauzone wrote:
> Walter Bright wrote:
>> It is exactly analogous to a null pointer exception. And it's darned 
>> useful.
> 
> On Linux, it just generates a segfault. And then you have no idea where 
> the program went wrong. dmd outputting incorrect debugging information 
> (so you have troubles using gdb or even addr2line) doesn't really help 
> here.

Then the problem is incorrect dwarf output, not null pointers.


> Not so useful.

It's *still* far more useful than generating corrupt output and 
pretending all is ok.



More information about the Digitalmars-d mailing list