Hacker News new | ask | show | jobs
by shawnz 2099 days ago
What? Don't global variables exist in pretty much every language on the planet? This isn't a "trick", it is a bad practice which should be avoided in any language.

Imagine describing globals in C, Python, or JavaScript, or static fields in Java or C# as a "neat trick"...