7 ms·
> but also related ecosystems like OpenApi are using Json and even Yaml in preference. And that explodes my mind. Yaml is such a steaming pile of shit compared
by funcDropShadow 4y ago
> but also related ecosystems like OpenApi are using Json and even Yaml in preference.
And that explodes my mind. Yaml is such a steaming pile of shit compared to Json, let alone XML. Yaml is the perfect example for the dichotomy of easiness versus simplicity. At first glance, it looks so easy. No tags, no braces, no commas, you can use comments. It seams to be so much better than XML and Json. After a while you begin to realize that the easiness is only perceived at first glance. In truth it is agglomeration of corner cases that got hyped like crazy. See https://noyaml.com https://noyaml.com or the top answer here https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines?noredirect=1&lq=1 https://stackoverflow.com/questions/3790454/how-do-i-break-a... for examples why I have such a strong opinion of Yaml.
- ElectricalUnion 4y agoMy guess is yaml triggers exactly the same initial response as jquery; it's surface seems "small", "simple" and "intuitive", but once you need to actually do things and dig deeper on how it is implemented, you often wish you haven't used it.
- acdha 4y agoI don't think that's fair to jQuery.
- planede 4y agoYAML fucked up bad with 1.1 and YAML 1.2 has virtually no adoption. It could have been great.