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.
4 comments
[ 5.5 ms ] story [ 187 ms ] threadAll they had to do was change the file extension to .md
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.