It's more that code with unknown side-effects is bad. Globals are just a common path to weird side-effects. If you have a global that's mutable, then this seems fine as long as there are strict rules about how and when it can change.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.