2 ms·
> It seems like it adds significant complexity over YAML to mitigate abuse of YAML On the complexity axis I think you're talking about, yes, having clear scope
by cormacrelf 5y ago
> It seems like it adds significant complexity over YAML to mitigate abuse of YAML
On the complexity axis I think you're talking about, yes, having clear scopes and no ambiguity about whether something is a string means there are more bits of syntax to type, but I don't think that adds complexity. JSON has more curly braces and quotes but it is a much simpler and much more reliable format than YAML. KDL is the same.
KDL does not "add significant complexity over YAML" in really any sense. The KDL specification is 1/10th the size of YAML's. Being extraordinarily complex and impossible to fully implement is is what YAML is famous for.[0] Asking people to do a better job writing YAML is a tough ask when even computers can barely do it correctly.
[0]: https://www.arp242.net/yaml-config.html https://www.arp242.net/yaml-config.html