On 11/26/13 9:10 AM, bearophile wrote:
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?

Someone else adds a global to the code they wrote, with which you build. Aren't you working in a team?

Andrei

Reply via email to