Java 10 has var so the type of local variables can now be inferred instead of tediously and redundantly specified.

Java 10 has var so the type of local variables can now be inferred instead of tediously and redundantly specified. Welcome to being just a little bit less horrible, Java.

Actually Java had been on a trajectory of getting a bit more modern for a number years now (lambdas and closures* arrived in 2014). This probably won’t save it from its ultimate fate however as Oracle starts charging people money for the JVM and Android devs start looking at cooler languages like Kotlin.

* for byte code compatibility reasons, they are actually just syntactic sugar for a hack made out of nested inner classes.