Comparison to Scala

Comparison to Scala

The main goal of the Kotlin team is to create a pragmatic and productive programming language, rather than to advance the state of the art in programming language research. Taking this into account, if you are happy with Scala, you most likely do not need Kotlin.

What Scala has that Kotlin does not

  • Implicit conversions, parameters, etc
    • In Scala, sometimes it's very hard to tell what's happening in your code without using a debugger, because too many implicits get into the picture
    • To enrich your types with functions in Kotlin use Extension functions.
  • Overridable type members
  • Path-dependent types
  • Macros
  • Existential types