4 ms·
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 pa
by cmarschner 7y 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.
- lmm 7y agoNah. 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.
- cmarschner 7y agoThe spec is here, https://yaml.org/spec/1.2/spec.html https://yaml.org/spec/1.2/spec.html > by no means a format for the long term. I would take that bet :)