Re:The beauty of functional languages in deep learning – Clo...
by jimbokun on Thursday September 12, 2019 @11:45AM
(#20952799)
For 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.
Re:The beauty of functional languages in deep learning – Clo...
by blandflakes on Thursday September 12, 2019 @12:30PM
(#20953411)
It'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.
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.