Hacker News new | ask | show | jobs
by snicker7 976 days ago
YAML was a mistake. Couldn’t count how many issues I and my colleagues encountered due to white space misalignment.
2 comments

Really? I think YAML perfectly fills the niche of a config format that is both hard for humans to write, and difficult for machines to read.
I use yaml for over 15 years now and never had any issues. Iam a rubyist, naturally that was how i first met yaml and since then I really like it.

Also with homeassistant I was "forced" to write a lot of yaml by hand and also never had real issues. Maybe its because emacs handles writing yaml fine. Anyways. I like yaml.

Your emacs config may.

Their emacs configs didn't.

Hopefully most distros' default emacs installs do the right thing these days but it's not something I've checked because these days pretty much everybody already has a setup that works for YAML because of how prevalent it is.

(I like YAML for just-about-human-editable data structures but then people try to text template it rather than actually treating it as data and then I want to cry)