News for hackers. Stuff that matters.
Re:Will Scala ever be enterprise-ready? by jaxytee on Tuesday November 05, 2013 @05:58PM (#6679108)
>it's much harder to integrate Java with Scala than with Clojure or Groovy, let alone Kotlin.

Your kidding right? Scala's Java interop is seamless compared to that of Clojure.

Re:Will Scala ever be enterprise-ready? by pron on Tuesday November 05, 2013 @06:28PM (#6679274)
I'm not sure what you mean. Clojure's abstractions (seqs and maps) are completely compatible with Java collections and require no conversion in either direction, while Scala collections do.
Re:Will Scala ever be enterprise-ready? by felipehummel on Tuesday November 05, 2013 @07:23PM (#6679618)
You can actually make it automatically convert in both directions with just an import. But it is good practice to do it explicitly. In my opinion, for a typesafe language, this is a good way to do it.
Re:Will Scala ever be enterprise-ready? by pron on Tuesday November 05, 2013 @07:48PM (#6679729)
The conversion, either implicit or explicit, is not free, neither in terms of performance, nor in terms of mental effort. This is not the case with Groovy, Kotlin and Clojure (though Java interoperability in Clojure does require more mental effort than in Groovy and Kotlin).
Re:Will Scala ever be enterprise-ready? by eeperson on Tuesday November 05, 2013 @08:52PM (#6680012)
I would argue that Groovy and Clojure require just as much conversion (I have no idea about Kotlin). Scala and Clojure both require conversion if you want to use idiomatic data structures. I think Groovy is actually worse about this because you get secret implicit conversion to add meta classes and null objects. I've run in to a bunch of difficult to track down bugs where Groovy has forgotten to do these conversions.