Null references (oh no, not again!)

Georg Wrede georg.wrede at iki.fi
Wed Mar 4 22:34:42 PST 2009


Rainer Deyke wrote:
> Daniel Keep wrote:
>> The point was that these were identified as being responsible for the
>> majority of the bugs in a large, real-world code base.  Clearly #2 and
>> #3 are common enough and cause enough issues to have made the list.
> 
> A sample size of one doesn't mean much.  In my experience, none of those
> four factors account for a significant amount of bugs, since all of them
> (except integer overflow) can be caught without too much effort through
> the copious use of assertions.

Well, you got it backwards.

Sample size one is your experience.
Sample size N is Unreal huge source, which has been written by N guys.



More information about the Digitalmars-d mailing list