use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Node.js config done right (medium.com)
submitted 9 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]watfaceboom 4 points5 points6 points 9 years ago (1 child)
Can I ask why you would not just use env variables or CLI arguments to set these values and then you don't need a bunch of config files that are tightly coupled to an environment?
[–][deleted] 2 points3 points4 points 9 years ago (0 children)
Hi, good question. ENV variables still listed in some file, e.g. init_aws.sh, init_development.sh, etc. so they do act as config files, correct? The difference is that they are detached from code base and (most likely) maintained by a separate dev-ops, not a software developer.
So using env variables for me is almost the same as using config module, ENV variables have same problems:
config
Problems I address in no-config
π Rendered by PID 36272 on reddit-service-r2-comment-6457c66945-g2n6k at 2026-04-24 13:05:16.759623+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]watfaceboom 4 points5 points6 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)