"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; } };