3 ms·
If we are going for simplicity, surely S-expressions wins? You can support structures similar to JSON or XML on top of it, but the baseline is simpler.
by goto11 4y ago
If we are going for simplicity, surely S-expressions wins? You can support structures similar to JSON or XML on top of it, but the baseline is simpler.
- mastax 4y agoThe new KiCad file formats are all S-expression based[0], except for the project files which are JSON IIRC. I think it works pretty well for representing a tree of typed objects textually. They don't even have any LISP connections. Haven't seen S-expressions used anywhere else, though. [0]: https://dev-docs.kicad.org/en/file-formats/sexpr-intro/ https://dev-docs.kicad.org/en/file-formats/sexpr-intro/
- twoodfin 4y agoI’d speculate that human minds and memories work much better with associative structures rather than sequenced ones. JSON draws a clean separation between these two and as a result has clearer syntax for the former. ie, the benefits of simplicity have a limit.