Mar 3, 2022
Of course, the Kotlin data classes are basically a direct copy of Scala's case classes. There were very few new things in Kotlin other than the null safety. The language was mostly created as a limited version of Scala that was intended to be more palatable to Java programmers.