Newbie initial comments on D language - scope

Janice Caron caron800 at googlemail.com
Tue Feb 5 01:12:02 PST 2008


On 05/02/2008, Janice Caron <caron800 at googlemail.com> wrote:
> /But/, this is what it would change to under your scheme:
> <snip>

...and that code had a bug in it! (Who else spotted it?) It can fail
with the assignment

    a = a;

It can also fail if either a or b is null.

See, this is harder than you think.



More information about the Digitalmars-d mailing list