It's pronounced Diane. I do data architecture, operations, and backend development. In my spare time I maintain Massive.js, a data mapper for Node.js and PostgreSQL.
I disagree -- getting configuration from the environment is like getting it from the registry in Windows. It makes sense for engines (Node), databases, web servers, and other system level software your average library or application developer installs separately rather than what their code depends on. Utility libraries have no business looking to the environment; that's what config files are for. The environment can change independently and with no warning, but a reserved file that has to be at least copied and pasted in is much more closely linked to the running code.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I disagree -- getting configuration from the environment is like getting it from the registry in Windows. It makes sense for engines (Node), databases, web servers, and other system level software your average library or application developer installs separately rather than what their code depends on. Utility libraries have no business looking to the environment; that's what config files are for. The environment can change independently and with no warning, but a reserved file that has to be at least copied and pasted in is much more closely linked to the running code.