4 ms·
See Clojure’s reader syntax: https://www.clojure.org/reference/reader https://www.clojure.org/reference/reader You can have vectors, hash maps, and sets in add
by drob518 1y ago
See Clojure’s reader syntax: https://www.clojure.org/reference/reader https://www.clojure.org/reference/reader
You can have vectors, hash maps, and sets in addition to lists, symbols, and keywords.
- kgwxd 1y agoI don't get why anyone even tries after Clojure. They got it 100% right. It's easier to read than anything else, and still super simple to parse. Commas are whitespace, use them or don't, where ever you want. Namespaced keywords are great. The data structures themselves act as functions. It's just... done.
- drob518 1y agoYep. There are a couple of places where I think Clojure made the wrong choices, but they are few and far between. Overall, there is so much that was done correctly. I don’t even know if I could program without persistent data structures anymore, for instance.