Hacker News new | past | comments | ask | show | jobs | submit login

> I've encountered a code written in the 12factor style of using environment variables for configuration, and in that particular case there was no validation nor documentation of the configuration options. Is this typical?

I think it comes down to how your team values the code they write.

You can have a .env.example file commit to version control which explains every option in as much or as little detail as you'd like. For my own personal projects, I tend to document this file like this https://github.com/nickjj/docker-flask-example/blob/main/.en....




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: