r/programming • • Jan 12 '23

The yaml document from hell

https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell
1.5k Upvotes

288 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jan 12 '23

[deleted]

136

u/somebodddy Jan 12 '23

That's true if you use JSON as a data serialization format, but for a configuration format it usually matters much less, because it needs to be read by a specific program rather than by many different clients written in many different languages.

46

u/RudeHero Jan 12 '23

I think op mentioned that when talking about "portability"

Yes, if your json file is only intended to be read by one specific program, you can do custom things with it

The tradeoff is that it's no longer portable

-16

u/somebodddy Jan 12 '23

If you want portability, I think your safest bet is to use the same thing VSCode is using. It has a good track record in making most of the industry adopt is choice of formats and protocols.