D and Nim

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 4 22:18:36 PST 2015


"Ary Borenszweig"  wrote in message news:m8d6g5$hna$1 at digitalmars.com... 

> Are there proofs of percentage of bugs caused by incorrectly mutating 
> variables that were supposed to be immutable? I don't remember having 
> such bug in my life.

Every C++ programmer has hit this bug at some point:

struct S
{
    int a;
    S(int a)
    {
        a = a;
    }
};



More information about the Digitalmars-d mailing list