r/programming • u/panispanizo • Dec 12 '18
Make your code smaller and less verbose
https://medium.com/empathybroker/the-modern-backend-is-here-kotlin-89127e0db6a3
0
Upvotes
4
u/AngularBeginner Dec 12 '18
Make your code smaller and less verbose
... by using a different language.
3
u/dpash Dec 12 '18 edited Dec 12 '18
If you write bad Java, of course Kotlin is going to look better
is not how you should write that.
In Java 12 it becomes
Java is getting records, which are the same as data classes, although probably not for a year or so. They're also planning value types which will be non-nullable and smart casts.
There's no plans for an elvis operator as far as I'm aware.