News for hackers. Stuff that matters.
Re:Ask HN: Scala vs. Kotlin? by treis on Wednesday January 20, 2021 @09:42PM (#25854691)
I don't think it's worth going from Java to Kotlin unless you have a real pressing reason. JVM languages have come and gone. None of them present enough of an improvement to leave the metric crapload of legacy Java code behind.

IMHO, for static typed lanaguages the most practical are Go or Typescript (if you wanna count that).

Re:Ask HN: Scala vs. Kotlin? by osdev on Wednesday January 20, 2021 @10:20PM (#25854952)
I think it’s pretty simple why you’d want to use Kotlin on the server; full stack Kotlin development: 1 language for both Android and Server(lowers time, costs, and you can share code).

And Kotlin multi-platform is making good progress, so potentially you can also build shared code for iOS and JavaScript. Again, it all comes down to time, cost, simplicity.

Lastly, I have to say, after using futures in Java/Scala, async/await in JS, Kotlin got it right with coroutines, channels and flows. I’m not exactly sure what the roadmap for concurrency looks like in the Java world(even with project loom, etc). While Java is moving fast(finally), I think it’s still weighed down by legacy stuff (nulls, mutable code, lack of expressions and more)

Re:Ask HN: Scala vs. Kotlin? by treis on Wednesday January 20, 2021 @10:52PM (#25855185)
The question isn't really if Kotlin is better or not. It is whether or not people will end up using it. And it doesn't really look like it's going to be a winner in the market.
Re:Ask HN: Scala vs. Kotlin? by yen223 on Thursday January 21, 2021 @06:42AM (#25857890)
The simple fact that Kotlin is an officially supported language for Android app development will guarantee people will use it, in my opinion. It will almost definitely do better than Scala in the long run.
Re:Ask HN: Scala vs. Kotlin? by ttymck on Thursday January 21, 2021 @01:19PM (#25862109)
> IMHO, for static typed lanaguages the most practical are Go...

Could you share your criteria for "practicality"?

Re:Ask HN: Scala vs. Kotlin? by treis on Thursday January 21, 2021 @05:33PM (#25865450)
Some combination of job availability, industry usage, and likelihood of being around in 5-10 years.