local variable naming convention
    Boyd 
    gaboonviper at gmx.net
       
    Fri Dec 20 01:15:25 PST 2013
    
    
  
I'm in the process of adapting my library to the D standard 
naming convention.
The problem is that I used to separate member variables and local 
variables through capitalization.
X would be a member variable.
x would be a local variable.
this allowed me, among other things, to create constructors such 
as:
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?
Cheers,
Boyd
    
    
More information about the Digitalmars-d-learn
mailing list