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

rempas rempas at tutanota.com
Tue Jan 25 11:43:56 UTC 2022

On Tuesday, 25 January 2022 at 10:22:59 UTC, max haughton wrote:
> Passing state down a huge chain is also a code-smell. Writing 
> code that uses a "global" variable is only slightly better than 
> using a global variable.
> What is the rough outline of these functions?

What "rough outline" of a function means? Sorry if that sounds 
but I need to learn.

More information about the Digitalmars-d mailing list