C# interview

Chad J gamerchad at __spam.is.bad__gmail.com
Thu Oct 2 07:58:31 PDT 2008


Ary Borenszweig wrote:
> 
> What's that feature in D?
> 
> If null references are the most problematic (and I must agree because I 
> started a project in D and I got null referneces a few times already, 
> but no other "bug"), why is it that in debug mode asserts are not put 
> for every reference access, to show "somefile.d(58): Error: Null 
> Reference" instead of just "Error: Access Violation"? :-(
> 
> No, instead you have to open a debugger to discover the file and line 
> number... What's the point of losing that time?

I agree.  That's always irritated me.



More information about the Digitalmars-d mailing list