News for hackers. Stuff that matters.
Re:The Road to Scala 3 by Scarbutt on Saturday December 21, 2019 @12:06PM (#21852174)
Nowhere near as good or as seamless as Kotlin interop, Kotlin made interop a priority/first class feature.

When using a Java library in Clojure, many times its just better to just write some Java for your Clojure program specifically for the purpose of calling it from Clojure.

Re:The Road to Scala 3 by didibus on Saturday December 21, 2019 @01:29PM (#21852575)
That hasn't been my experience. I've always been able to make use of Java libraries directly from Clojure in a straightforward way. In fact, sometimes I joke it's easier to do Java in Clojure than in Java

Can you describe the kind of situations that you faced issues in?

P.S.: Also, Clojure has first class interop... It's a part of its fudamental design.

Re:The Road to Scala 3 by trmsw on Saturday December 21, 2019 @03:00PM (#21853056)
In what sort of situations have you needed to write more Java to use a Java library from Clojure? I've never felt the need to do this. It's sometimes helpful to write a Clojure wrapper for a Java library on order to use it in a more Clojure-y way.
Re:The Road to Scala 3 by Scarbutt on Saturday December 21, 2019 @04:45PM (#21853523)
Re:The Road to Scala 3 by mateuszf on Saturday December 21, 2019 @04:17PM (#21853416)
> When using a Java library in Clojure, many times its just better to just write some Java for your Clojure program specifically for the purpose of calling it from Clojure.

What? Calling Java from Clojure couldn't be any easier. The same as calling JavasScript from ClojureScript

Re:The Road to Scala 3 by Scarbutt on Saturday December 21, 2019 @04:45PM (#21853522)
Re:The Road to Scala 3 by mateuszf on Sunday December 22, 2019 @01:39AM (#21855641)
Ok, that's fair enough, though one could argue this is about writing new java like code not accessing existing java code.