5 ms·
While there are no other format with clear advantage over YAML, I wonder why nobody use javascript with modules as programmable configuration. Can be broken to
by fendy3002 8y ago
While there are no other format with clear advantage over YAML, I wonder why nobody use javascript with modules as programmable configuration.
Can be broken to file parts, support comment, variable, functions or scripts. And with additional extension can import packages. Though the downside may be JSON format that's noticably bigger than yaml.
- ams6110 8y agoI think JSON is almost always better than YAML, except for very simple cases.
- stubish 8y agoI feel it is always better for programs to accept YAML than JSON, because then you can feed it either YAML or JSON (all valid JSON is also valid YAML).
- tracker1 8y agoI don't even want to think about the support nightmare of releasing an application with configuration beyond YAML or environment variables.