4 ms·
I don’t have experience in Clojure but I do have experience in Scala where this claim is also made often. In Scala anyway, it’s totally false. Firstly there’s
by mlthoughts2018 7y ago
I don’t have experience in Clojure but I do have experience in Scala where this claim is also made often.
In Scala anyway, it’s totally false. Firstly there’s just a huge impedence mismatch between code relying on Scala features and code serving as a Java wrapper into Scala. But even just the basic usage of the libraries doesn’t always work.
I very nearly quit a job once just from the incredible frustration of trying to use JFreeChart in Scala.
- jimbokun 7y agoFor a while, a few years ago, I wrote a lot of scripts and personal tooling in Clojure, calling Java APIs. I don't remember really having any difficulties calling Java code from Clojure.
- blandflakes 7y agoIt's a very different world in Clojure. Data structures mutually satisfy the relevant interfaces, and there's no real pain about how a java.util.Map isn't immutable and so on.