3 ms·
A problem I have run into (admittedly, having not written as much clojure code as I'd like) is that some java libraries in particular can make interop distinctl
by regularfry 4y ago
A problem I have run into (admittedly, having not written as much clojure code as I'd like) is that some java libraries in particular can make interop distinctly unpleasant. Anything around the Spring framework, for instance, made me tear my hair out. Yes it's possible, but by the time you've compensated for the impedance mismatch you might as well have done a rewrite.
- didibus 4y agoHum, I've used Spring with Clojure a lot, never had issues. Things that are difficult to interop are java annotations based stuff, having to implement interfaces or subclass classes, and functional interfaces. But you can use Spring without annotations, which is my preferred way anyways, because I favor explicit over implicit.