>> Parameters shadowing outside members is pretty common and useful

> How the hell is it useful?
> If you have:
> {
>     int x;
>     {
>         double x; // use x
>     }
> }
> And you comment out or remove "double x", you've just introduced a bug in your code

I think you missed the word *MEMBER* in my post. I specifically said that I'm talking about MEMBER variables, not local variables.

Reply via email to