3 ms·
Oh, I hate xml as a config language. But at least it has support for comments - unlike json (hacks not withstanding).
by e12e 6y ago
Oh, I hate xml as a config language. But at least it has support for comments - unlike json (hacks not withstanding).
- dehrmann 6y agoThinking out loud... The problem with XML is mostly syntactical: it's not always clear if something should be a node or an attribute, and it doesn't have actual lists, maps, or scalar types. JSON has more structural issues: it can be too terse, so if you're not careful with naming fields, it can be really hard to tell what type of object something is, and for polymorphic lists, you're out of luck.