Hacker News new | ask | show | jobs
by seunosewa 2879 days ago
Good question, since Google’s adoption of Kotlin was seen as the death knell for Scala.
3 comments

Seen by people who understand nothing about either language then? The vast majority of Scala developers have nothing to do with frameworks that are "adopting" Kotlin. What Google does with Android is completely irrelevant to us. And I'm not sure Google uses Kotlin at all internally.
Kotlin is pretty much irrelevant outside Android, and even there only because Google most likely will never bother to move beyond Java 8 and Kotlin is the Android's Swift, regarding language replacements.
I wonder if Dart will supersede Kotlin now that Flutter is getting attention on mobile.
Flutter is getting some attention, however no one outside the respective teams, knows actually where Google is taking Flutter and Fuchsia.

And lets not forget Android also means Auto, Wear, Things and ChromeOS integration.

Dart is a successor to Javascript, not Kotlin.
Dart is being positioned as a cross compiling, Android and iOS (but not web) development language with the Flutter platform. It very much seems like a replacement for Kotlin's usage on Android, but only if you are also switching to this UI framework.

https://medium.com/dartlang/announcing-dart-2-80ba01f43b6

It has a very long road to travel regarding OS APIs and the Android team evaded the question at Google IO about what was their opinion regarding Flutter.

Additionally, according to the Chrome team, also at IO, the way to do iOS and Android development is via PWAs, not Flutter.

This is just Google playing with their teams.

Eh... Kotlin sucks as a language but lets you access high quality Java libraries.
These are two completely different things.

The use of Kotlin on the server side is probably zero.

The use of Scala for actual production Android code is close to zero.

We're using Kotlin in our backend and pretty happy about it. It has support for co-routines and great syntax, it's lightweight compared to Scala and IntelliJ plays great with Kotlin (no surprise as both of them are from JetBrains).

I won't even mention the learning curve, we started learning Kotlin using IntelliJ's support for converting Java files to Kotlin initially and then it took only one week to learn about the details thanks to its documentation.