4 ms·
For a scripting language, how about the language itself?
by m4r35n357 7y ago
For a scripting language, how about the language itself?
- eyelidlessness 7y agoThis is what I do whenever possible. And bonus if your scripting language is statically typed. My projects use TypeScript configurations, with the `config` import statically typed and each configuration file checked against those types. It's a great way to ensure you don't miss a config change for an environment you're not working on at the time.
- baq 7y agoTuring complete configuration is a no-no.
- williamdclt 7y agoMany reasons to prefer a static declarative config over a dynamic imperative one. Sometimes the latter makes more sense, but there is very much a need for the niche YAML tries to fill
- gruez 7y agosubmission about exactly that: https://news.ycombinator.com/item?id=22787332 https://news.ycombinator.com/item?id=22787332