3 ms·
That's a good point. A lot of what I built classes and objects for in other languages can really be expressed as simple maps, hashes, lists, and vectors, and mo
by beat 13y ago
That's a good point. A lot of what I built classes and objects for in other languages can really be expressed as simple maps, hashes, lists, and vectors, and more complex types built from them. Clojure's elevation of maps/hashes/vectors to first-class types puts it above Lisp, imho, and its functions to manipulate said data structures are better even than languages like Ruby and Python.
I can't imagine having to go back to Java collection classes again. Ugh.
- lispm 13y agoYou are saying hashes, vectors, etc. are not first-class types in Lisp? Strange...