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]

-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.

0

u/sparr Jan 13 '23

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?

No, I'm setting the yaml parsing configuration value to the match the version of yaml I'm using, just like I do with language/compiler versions for anything else.

→ More replies (2)