Kotlin improves Java’s weakness which is very rigid and hard to code which
results in less productivity. Kotlin has the same purpose like Scala, it
introduces a lot of pattern to code less and thus improved productivity for
programmers. Kotlin also introduces functional programming which is loved by
many programmers.