4 ms·
YAML is the configuration format that is most comfortable to write by hand IMO. Plenty of big projects use it for that usecase. YAML also has plenty of differen
by FireInsight 3y ago
YAML is the configuration format that is most comfortable to write by hand IMO. Plenty of big projects use it for that usecase. YAML also has plenty of different, redundant ways to represent the same data, which it wouldn't if it was a serialization format, no?
Besides, JSON is already human-readable when well formatted. Just lacking in hand-typing ergonomics.
I don't get what makes YAML a serialization format. And if it was intended to be such, then it sucks even more than most people argue it to.
- kelnos 3y agoIIRC YAML was indeed designed as a serialization format. I thought it was originally a Ruby thing, but the Wikipedia page for it doesn't confirm that. Agree that it's not a great serialization format, though...
- Alifatisk 3y ago> YAML was indeed designed as a serialization format. I thought it was originally a Ruby thing What do you mean by originally a Ruby thing? I am curious.
- throwawaaarrgh 3y agoYou should probably use a search engine to discover what serialization is, and what a data serialization format is. It's a useful computer science concept. Ignorance is only bliss until it gets you in trouble.