News for hackers. Stuff that matters.
Re:Conventions for Command Line Options by Too on Sunday August 02, 2020 @03:17AM (#24026984)
Same thing can be said about global variables. I think any sane developer would agree it's a anti-pattern.
Re:Conventions for Command Line Options by chriswarbo on Sunday August 02, 2020 @04:57AM (#24027392)
Mutating global variables is certainly an anti-pattern, but I'm not so convinced that global constants are a problem; i.e. if we treat env vars like immutable variables (in fact I treat most variables as immutable).