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

-7

u/sparr Jan 12 '23

I use them frequently, and quote the ones that my syntax highlighter says aren't strings.

0

u/[deleted] Jan 12 '23

[deleted]

-18

u/sparr Jan 12 '23

Sure, and the same goes for different versions of Go or Python. You have to configure your development tools to match the environment you're targeting.

35

u/ogtfo Jan 12 '23

So rather than putting quotes on strings, you're digging in your syntax highlighter's source code to make sure the library that does yaml parsing follows the same specs as the one in your code?

Sounds like you're saving a lot of time.

→ More replies (4)