Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can have both: write your code in a way that you pass it’s configuration. This makes code more testable and reusable.

Now in the outmost layer where you start your program you get the environmental variables and pass them.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: