News for hackers. Stuff that matters.
Re:Don’t use environment variables for configuration by beebob on Friday April 02, 2021 @08:03AM (#26670722)
Interestingly, reading this blog post, this doesn't seem to be common knowledge. The first comparison of global variables inside a process and environment variables left me wondering. It just felt wrong.

A gripe I have with environment variables is when they are used to modify a programs behavior deep inside it's belly and aren't treated like configuration input similar to program arguments.

Otherwise they are a universal way of configuring applications. Universal is good, universal is nice.

There are no comments on this comment yet.