Kotlin is an open-source programming language that’s often pitched as a Java replacement ; it’s also a “first class” language for Android development, according to Google. … Scala was also designed to replace Java, but ended up hobbled by its complexity and slowness to compile.