that space will eventually be filled by a future version of Java. Scala is it's own thing but Kotlin is really nothing more than Java++ and that's the reason why most java devs seem to like Kotlin.
So in 5 years, Java will have value types, better generics, better type inference, closed hierarchies, simple pattern matching and shorthands to define data objects. What reason will there be to use Kotlin?
Scala on the other hand is becoming it's own language, with a jvm, js & native backend and a huge ecosystem with it's own libraries & practices. I would say that it's sufficiently different from java & haskell to be hated by both communities.
котлин не просто better java, у него еще js и native же. ну и своя экосистема развивается, но за основу все равно идет джавовая. а джавовая по-немногу обрастает котлином... то в спринге поддержку добавят, то в вертексе, то в джексоне
So in 5 years, Java will have value types, better generics, better type inference, closed hierarchies, simple pattern matching and shorthands to define data objects. What reason will there be to use Kotlin? ответ прост, котлин есть уже сейчас, а не через мифические 5 лет
Обсуждают сегодня