Why people dislike global variables so much while I find them so convenient?

forkit forkit at gmail.com
Wed Jan 26 11:38:51 UTC 2022


On Wednesday, 26 January 2022 at 11:29:31 UTC, forkit wrote:
>
oh. what is actually going on in foo is irrelevant of course.

foo does nothing of any relevance.

the point I was making, was about having a global variable with 
the same name as as a local variable, could 'potentially' slip 
you up.



More information about the Digitalmars-d mailing list