4 comments

[ 5.5 ms ] story [ 187 ms ] thread
I thought it was normal practice not to export environment variables so they are only available to a particular process.

I think env variables are bad for passing info between processes, but are good for loading different configurations into processes consistently.

I always load my env from some config file, but I like that the apps don’t care how config gets stored. I like the abstraction of the process not needing to be aware of how config is managed.