<Kotlin vs. modern Java> Some years back Kotlin wa...
# forum
r
Kotlin vs. modern Java Some years back Kotlin was an easy sell, because Java (lets say up to Java 9) felt dated and was inconvenient in many regards. But Oracle invested a lot to make Java more attractive. https://discuss.kotlinlang.org/#recent-java-features-1Recent Java features: Local type inference: var thing = factory.createThing() records that are somewhat similar to data classes: record Point(int x, int y) {} Pattern matching (no serious...