--

Mix both approaches. Use environment variables to create/populate a configuration file or object, just the way you like. You'll still have to cast everything from string to the needed types, but that's a minor cost. No pain no gain.

--

--

Jose I Santa Cruz G
Jose I Santa Cruz G

Written by Jose I Santa Cruz G

Polyglot senior software engineer, amateur guitar & bass player, geek, husband and dog father. Not precisely in that order.

No responses yet