3 ms·
> Integrations with emerging technologies like new database systems or new statistical packages always lags way behind other languages and usually exists in som
by jimbokun 7y ago
> Integrations with emerging technologies like new database systems or new statistical packages always lags way behind other languages and usually exists in some half-finished form that depends on labor of love from some isolated hobbyist.
This really sets Clojure apart from Haskell, in that you can use any Java library with almost zero friction.
- mlthoughts2018 7y agoI 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.