3 ms·
The author forgot to mention that you can have immutable collections in Java but then praises Clojure's immutable collections. The Java coded provided will prod
by zxczxc111 7y ago
The author forgot to mention that you can have immutable collections in Java but then praises Clojure's immutable collections. The Java coded provided will produce warnings due to the mixing of generics and raw types and actually I had no idea about what the output of the Clojure code would be because the author assumes that you have no questions "once a Clojure learner gets used to Clojure syntax". Once you learn that there's a difference between primitives and objects then the Java example becomes just as clear. Moot article.
- Quekid5 7y agoYeah, seems like: a) category error: The simplicity in the example is due to immutability, not language choice. b) familiarity bias: I've learned X therefore it's simpler than Y. (It might be true, but you'd need a lot more supporting evidence than relying on point a.) ... anyway.