News for hackers. Stuff that matters.
Re:Scala 3.0 by serial_dev on Friday May 14, 2021 @06:38AM (#27152786)
What they probably meant is that both Scala's and Kotlin's improvements pushed Java to improve. Both languages had many different features that back then weren't available in Java but since then got added to the Java language, and that made Java better, too.
Re:Scala 3.0 by hocuspocus on Friday May 14, 2021 @07:04AM (#27152940)
I still don't see how Kotlin is involved. People drafting JEPs are well aware of how modern languages, including the ones running on the JVM, have evolved in the past decades. Kotlin is pretty late to the party and hasn't really brought anything new to the JVM (by choice), except for coroutines maybe.

Edit: see pron's comment below.

Re:Scala 3.0 by RhodesianHunter on Friday May 14, 2021 @10:34AM (#27154758)
Kotlin becomes the default on Android, more people are writing Kotlin, there's more pressure on Java to adopt the best Kotlin features.

If you look at most of the recent additions to Java, they were in Kotlin from the beginning. This is no coincidence.

Re:Scala 3.0 by hocuspocus on Friday May 14, 2021 @11:13AM (#27155132)
And they were in Scala, Groovy, C# ... before Kotlin was even a thing. There's zero evidence people on the OpenJDK governing board care about Android at all, rather the opposite.
Re:Scala 3.0 by blacktriangle on Friday May 14, 2021 @12:47PM (#27156407)
Except Scala brought along some improvements and a whole managerie of other features to manage, Groovy with its gradual typing was simultaneously too far away from Java and yet too similar, and C# means opting into a whole different platform and perpetually living downstream of whatever MS wants to do.

Kotlin absolutely nailed the "meaningfully better than Java while staying pedantically true to the existing semantics" in a way that none of the alternatives did even if they did come first.

Re:Scala 3.0 by hocuspocus on Friday May 14, 2021 @01:28PM (#27157055)
It is still completely irrelevant to Java's evolution since Java 7.