TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Environment Variables: For and Against

25 pointsby sriharisabout 6 years ago

2 comments

A2017U1about 6 years ago
Warning: this isn&#x27;t fun to read on mobile<p>All they had to do was change the file extension to .md
评论 #19261704 未加载
prependabout 6 years ago
I thought it was normal practice not to export environment variables so they are only available to a particular process.<p>I think env variables are bad for passing info between processes, but are good for loading different configurations into processes consistently.<p>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.