>Diamond operator
Wow. So instead of adding something like var in C# or auto in C++ they went the opposite way. Makes no sense to me.
Wow. So instead of adding something like var in C# or auto in C++ they went the opposite way. Makes no sense to me.
It should have var/auto, for sure, but this is a different thing.
That is possible, and is how many languages work, but it would have been a huge change for Java. For better or for worse, it's in the nature of Java to be conservative, and not make huge changes.