Null references redux

Walter Bright newshound1 at digitalmars.com
Sat Sep 26 18:16:45 PDT 2009


Jason House wrote:
> Walter Bright Wrote:
> 
>> Denis Koroskin wrote:
>>> On Sat, 26 Sep 2009 22:30:58 +0400, Walter Bright 
>>> <newshound1 at digitalmars.com> wrote:
>>>> D has borrowed ideas from many different languages. The trick
>>>> is to take the good stuff and avoid their mistakes <g>.
>>> 
>>> How about this one:
>>> 
>> http://sadekdrobi.com/2008/12/22/null-references-the-billion-dollar-mistake/
>> 
>> 
>>> 
>>> 
>>> :)
>> 
>> I think he's wrong.
>> 
>> Getting rid of null references is like solving the problem of dead
>>  canaries in the coal mines by replacing them with stuffed toys.
>> 
>> It all depends on what you prefer a program to do when it
>> encounters a program bug:
> 
> What do you define as a bug?

The program doing something it was not deliberately programmed to do.



More information about the Digitalmars-d mailing list