References in D

Timon Gehr timon.gehr at gmx.ch
Thu Oct 4 05:36:00 PDT 2012


On 10/04/2012 01:38 PM, bearophile wrote:
> Timon Gehr:
>
>>> To quote (loosely) Mr. Walter Bright from another discussion: how many
>>> current bugs in dmd are related to default null references?
>>
>> More than zero.
>
> A >0 frequency of bugs caused by something can't be enough to justify a
> language feature. You need a "high enough" frequency :-)
>

A correct program contains no errors of any frequency.

Your claim only holds for errors related to the programmer failing to
create a program that parses as he intended it to.

No program errors are 'caused' by invalid references.

> --------------------------
>
> Alex Burton:
> ...

(please do not destroy the threading)


More information about the Digitalmars-d mailing list