On 25/06/11 2:42 AM, Jonathan M Davis wrote:

That's why a lot of people typically use a different naming scheme for member
variables (e.g. prepending them with _ or m_). As long as you're smart about
naming, it's really not a problem.

I don't want that to be required though.

Yeah. That would not be fun. As it is, there are a variety of ways that you
can go about differentiating between globals, locals, and member variables.
There's no need for the compiler or language to get into it any further than
they already do. Being too strict about stuff like that would get very
annoying.

- Jonathan M Davis

Agree with this 100%.

This is a solved problem. No need for throwing more and more language features at it.

Reply via email to