News for hackers. Stuff that matters.
Re:Scala 3.0.0-M1 by dtech on Wednesday November 04, 2020 @02:52AM (#24987133)
Kotlin has significant support from the largest Java ecosystem: Spring. In my experience it's also much more compatible with Java/JVM libraries. In Scala that's perfectly possible but leads to very un-idiomatic code, in Kotlin you barely notice.
Re:Scala 3.0.0-M1 by lmm on Wednesday November 04, 2020 @05:27AM (#24987850)
> In my experience it's also much more compatible with Java/JVM libraries. In Scala that's perfectly possible but leads to very un-idiomatic code, in Kotlin you barely notice.

I think that's actually reversing as Kotlin and Java diverge. E.g. interop with Java Optionals is very easy in Scala (and they obviously correspond directly to Scala Options) whereas it's harder to make them fit with Kotlin nullable types. And Kotlin's "suspend functions" are unlike anything else and mean you have to understand a concept of "inline" that changes the semantics of the function it applies to; e.g. calling a Java function that takes a callback from an async function is straightforward in Scala, but not so much in Kotlin.

Re:Scala 3.0.0-M1 by cies on Wednesday November 04, 2020 @02:57AM (#24987161)
Scala has an issue with the concept of "idiomatic code". I'd say when it comes to "idiomatic code", Go and Scala are at the opposite sides of the spectrum.
Re:Scala 3.0.0-M1 by pjmlp on Wednesday November 04, 2020 @03:22AM (#24987266)
Spring supports everything that helps their bottom line.

Where are the Groovy, Scala, Clojure support nowadays?

Re:Scala 3.0.0-M1 by imtringued on Wednesday November 04, 2020 @04:16AM (#24987520)
Groovy is still alive within the context of Grails (which is basically a very nice wrapper around Spring) and Micronaut (which is a direct competitor to Spring). Micronaut officially supports Java and Kotlin as well.
Re:Scala 3.0.0-M1 by pjmlp on Wednesday November 04, 2020 @06:07AM (#24988026)
I was referring to the way Spring used to sell that they supported those languages, just like they do with Kotlin now.