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.
[ Parent
| on HN ]
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).