Redundancies often reveal bugs

Kagamin spam at here.lot
Thu Sep 30 23:33:26 PDT 2010


bearophile Wrote:

> errors will be found
> often hide bugs

> situations like x=x; reveal true bugs like:
> 
> class Foo {
>     int x, y;
>     this(int x_, int y_) {
>         this.x = x;
>         y = y;
>         
>     }
> }
> void main() {}

Yes, fields and locals in camelCase is a bug.


More information about the Digitalmars-d mailing list