4 ms·
If it's stored as code it's going to be trivial to dump it to Json in the rear situations you need an application config to be read across languages.
by waheoo 6y ago
If it's stored as code it's going to be trivial to dump it to Json in the rear situations you need an application config to be read across languages.
- tinus_hn 6y agoSo now you need the runtime for that other language in your system-wide configuration management solution. Plus all the other runtimes for languages someone decided to use as a configuration language.
- enriquto 6y agoSounds alright to me, as long as you restrict to sane, reasonable languages. For example lua's "runtime" fits in a single .c file and is likely simpler than many xml or json parsers.
- choeger 6y agoBut that does not allow you to manipulate it automatically (think about moving domains or something like this), nor does it help you to detect errors (which few tools do, but many actually should do).