local variable naming convention

kdmult kdmult at ya.ru
Fri Dec 20 01:17:40 PST 2013


On Friday, 20 December 2013 at 09:15:26 UTC, Boyd wrote:
> this(int x, int y)
> {
>    X = x;
>    Y = y;
> }
>
> So now my question is, how do you distinguish between member 
> and local vars in such cases?

this(int x, int y)
{
    this.x = x;
    this.y = y;
}


More information about the Digitalmars-d-learn mailing list