If somehow you haven’t read the canon of YAML haters (among which I count myself), you gotta check out The YAML Document from Hell. It’ll make you seethe with holy rage.
i get semantic whitespace in python, it makes it less scary for beginners and i personally find it objectively easier to read.
But for config files (which afaik is the whole point of yaml) the parens don’t even get in the way, they’re actively helpful to find where a section of the config starts and ends! aurgh
If somehow you haven’t read the canon of YAML haters (among which I count myself), you gotta check out The YAML Document from Hell. It’ll make you seethe with holy rage.
Almost all of those issues are solved by quoting the string values.
Oddly it does not even mention the biggest sin and problem with YAML: semantic whitespace.
i get semantic whitespace in python, it makes it less scary for beginners and i personally find it objectively easier to read.
But for config files (which afaik is the whole point of yaml) the parens don’t even get in the way, they’re actively helpful to find where a section of the config starts and ends! aurgh
tysm for sharing that article, is good!
This is every yaml document