Null references (oh no, not again!)

Rainer Deyke rainerd at eldwood.com
Wed Mar 4 11:50:28 PST 2009


Walter Bright wrote:
> It's also quite unnecessary. The hardware will do it for you, and the
> debugger will tell you where it is.

By the same reasoning, unit tests are unnecessary.  The end user tells
you that there's a bug, and the manually stepping through the whole
program with a debugger tells you where.

I use assertions because they make my life easier.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list