3 ms·
Actually Scala 2.12 will have more Java 8 Interop than Kotlin. Scala will hit soon while I don't see Kotlin Java7/Java8 soon not even a Milestone release yet.
by merb 11y ago
Actually Scala 2.12 will have more Java 8 Interop than Kotlin.
Scala will hit soon while I don't see Kotlin Java7/Java8 soon not even a Milestone release yet.
- dastbe 11y agoThis is true, but I think it's worth looking at how far behind Scala 2.12 is from its initial release date The original roadmap: http://www.scala-lang.org/news/2.12-roadmap/ http://www.scala-lang.org/news/2.12-roadmap/ The current roadmap: http://www.scala-lang.org/news/2016-schedule/ http://www.scala-lang.org/news/2016-schedule/ For reference, M4 was released 3 days ago. JDK8 was released a little over 3 years ago, and JDK9 is about a year away which will introduce some interesting challenges. We've yet to see how fast JetBrains will iterate on Kotlin and support for JDK8, while we know exactly how fast Scala iterates.
- merb 11y agoYeah the schedule change was sad. And Scala 2.12 takes really long, but a Scala 2.11 is really solid, it just hasn't the same interop than it should have in a Java 8 world.
- airless_bar 11y agoEven Scala 2.11 has better Java 8 interop. The main change in 2.12 is that Scala itself uses Java 8 features like default methods and invokydynamic. Using Java 8 has worked with 2.11 for quite some time already.
- merb 11y agoand Scala 2.12 change FunctionN to FunctionalInterfaces. That will add a huge boost to Java8 <-> Scala 2.12