Andrei Alexandrescu:

The problem is "you" who added the global and "you" whose code is broken may be in fact two different people.

When you have code written by another person, and you add a global variable that causes shadowing errors elsewhere, you choose another variable name. What problems is this going to cause?

Bye,
bearophile

Reply via email to