3 ms·
> environment variables are mutable global state, therefore bad Wrong. They are immutable global state. There is no way of updating a process environment set a
by 1_player 6y ago
> environment variables are mutable global state, therefore bad
Wrong. They are immutable global state. There is no way of updating a process environment set after it's started. Apart from corner cases (execve), env vars are immutable, therefore act like constants. And constants aren't bad, are they?