Naming Convention Question

Just curious, does anybody know why the decision was made to not differentiate naming semantics between member and local variables? Most of the code I have ever worked in uses ‘m_’ as a prefix for member variables, and no prefix for locals. This makes it very clear what kind of data you’re working with just by looking at it. For example, I’m reading a particular function, how am I to differentiate locals from member variables without having to go find the origin of every last variable in the function? I’m also used to class names being CapitalCase and variables being camelCase, I wonder what their reasoning for differentiating from this is as well.

Sure, maybe its not a big deal as variables should be declared as close to their usage as possible, but I’m just curious is all :slight_smile: Maybe their way is just as readable and I’m just not used to it yet!