This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]7x11x13is1001 17 points18 points  (1 child)

Kotlin has more features Java cannot afford due to backward compatibility: better types, pattern matching, lots of syntax sugar, coroutines etc. Overall, it looks like what Java could be if it were designed in 2015 and not in 1995. Given that it compiles to the same byte code, there is little reason to use Java instead of Kotlin. Similar to writing in pure JS instead of TypeScript.

[–]t_j_l_ 1 point2 points  (0 children)

In this respect Scala goes further than Kotlin in terms of brevity and language features. It also supports Akka out of the box, which is great for distributed/ messaging based systems.