> 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?
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?