Hacker News new | ask | show | jobs
by cmarschner 2352 days ago
Agree to text files. I would throw in Yaml to the mix. I use it preferably for all data files meanwhile that one would otherwise use json for. It‘s slower to parse than json, but it‘s incredibly simple and human readable (and writable), and will stand the test of time.
1 comments

Nah. Yaml is a total mess with far too many special cases (time handling, many different ways to write booleans). I think it doesn't have any kind of formal spec? It makes sense where you want to optimize for human editing in the short term, but it is by no means a format for the long term.
The spec is here, https://yaml.org/spec/1.2/spec.html

> by no means a format for the long term.

I would take that bet :)