4 ms·
So what kind of things do you use s-expressions for? Is there something they're really good at that I don't know about yet?
by ErroneousBosh 6mo ago
So what kind of things do you use s-expressions for? Is there something they're really good at that I don't know about yet?
- embedding-shape 6mo agoEverything? The full projects are in lisp syntax (s-expressions), not Algol-like syntax (C-like syntax) that most people are familiar with. Personally I mostly use Clojure, but lots of lisp-like languages offer the same (simpler) experience of programming.
- mbac32768 6mo agoprobably the best use of s-expressions is as an alternative to json which you can implement in 50 lines of code e.g. pretty good for config files or basic serialization
- embedding-shape 6mo ago> pretty good for config files Case in point which suits well for config files; EDN - https://github.com/edn-format/edn https://github.com/edn-format/edn