In defense of YAML
icarusz
13 points
2 comments
May 26, 2026
Related Discussions
Found 5 related stories in 96.1ms across 8,541 title embeddings via pgvector HNSW
- Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML brendanmc6 · 264 pts · May 03, 2026 · 51% similar
- Why are we still using Markdown? veqq · 84 pts · April 03, 2026 · 46% similar
- Show HN: Orloj – agent infrastructure as code (YAML and GitOps) An0n_Jon · 19 pts · March 26, 2026 · 43% similar
- Functional programmers need to take a look at Zig xngbuilds · 54 pts · April 30, 2026 · 43% similar
- Should QA exist? PretzelFisch · 119 pts · March 27, 2026 · 43% similar
Discussion Highlights (2 comments)
t-kalinowski
I wonder if YAML is better than JSON for LLMs, because the indentation keeps the nesting level information local to the content.
richmeister
Author here. Short version is that YAML 1.1 behavior has a lot of bad, but the 1.2 spec addressed the major problems (way back in 2009!). I don't really know why PyYAML never updated to 1.2. So for the intervening years Python users kept hitting 1.1 bugs and blaming the format.