by voidUpdate · 6mo ago · 0 comments
Genuine question, why do people use YAML? I've been using it a little bit recently (reading existing documents, not writing my own), and it just seems like a more overcomplicated and less human-readable version of JSON? With potential security vulnerabilities?
Please provide an example, how YAML can be less readable than JSON. I struggle to think of any.
Also I really don't like the hyphen notation... This is very unreadable to me:
- a
- b: c
- - d - - "hello"
YAML expanded: -
- "hello"
JSON (typical formatting): [
[
"hello"
]
]
And EDN for good measure: [["hello"]]
I know which one I prefer :) Silly example perhaps, but once you have X lists nested in Y lists, it does become a lot easier to see why some prefer a bit more visually hierarchically stronger syntaxeshttps://opensource.posit.co/blog/2026-05-21_in-defense-of-ya...
Because people LOVE overcomplicated shit. You see it happen everywhere.