3 ms·
Yep, anything is hard to write. What's more important, YAML is hard to read, and it's by design as its markup was intended to be as invisible as possible.
by GoblinSlayer 5y ago
Yep, anything is hard to write. What's more important, YAML is hard to read, and it's by design as its markup was intended to be as invisible as possible.
- marcosdumay 5y agoHum... JSON is quite easy to write. Too bad the lack of comments makes it unmaintainable. As the OP said, the quest for the perfect data language is still on.
- GoblinSlayer 5y agoHard to write as in you can botch it up. With JSON you need to be careful to close all the tiny braces, sometimes far apart.
- rishav_sharan 5y agoFirst time I have heard that YAML is harder to read compared to XML. XML might have many upsides over YAML, but readability isn't one of them
- GoblinSlayer 5y agoIf by readability you mean invisible markup, yes, that's what YAML does well.
- rishav_sharan 5y agoBy readability, I mean readability. The ability to understand whats in there, in a glance. JSON and YAML and vastly more readable than XML.
- kaba0 5y agoSure it’s readable for like 3 lines of code - the exact same way as XML is. But YAML’s readability scales the worth out of the 3.