DEV Community

Discussion on: Stop Using YAML

Collapse
 
gmelidis profile image
Giannis Melidis

I think you are being harsh with YAML. There are tools/libraries that generate perfectly valid YAML and linters (and formatters) in every popular text editor to help you understand what you are writing and correct you if you are wrong. If you forget to quote a & character, this is the equivalent of a typo and you make them in every (well or not well) defined language. Read the manual, learn the rules and you will be fine.

Collapse
 
jessekphillips profile image
Jesse Phillips

Read the manual, learn the rules and you will be fine.

Isn't that exactly my point. Did you look into my reference to the uncanny valley?

Collapse
 
gmelidis profile image
Giannis Melidis • Edited

I didn't get that point from your post. Which language have you used without reading the rules first? If you don't, you will make mistakes sooner or later. The fact that you don't like some of these rules, is not a valid reason to go on a conquest for people to stop using it. Personally, human readability is a totally legit reason for some people, even if it doesn't tick any other box. It's the same reason why some languages enforce indentation and some others don't, some use parentheses and colons and some other don't and people choose one or the other. It's called flavor and in my mind, the more flavors the better.

I'll check the reference, thanks!