Re:Var and val in Java?
by jsmith0295 on Saturday March 26, 2016 @05:37PM
(#11367575)
I don't think they can do it with Generics because of an architectural problem. And while var is probably the best approach to having type inference, I don't even think that's a particularly important feature if you're comparing Java to C#. Having async/await and async IO basically be the default as it is in C# now would be huge. Trying to make things asynchronous in most Java web projects is considerably more difficult than it ought to be. Play framework isn't bad, but given that it's a Scala framework, there's a different set of issues when you're trying to use it from Java.
[ Parent
| on HN ]
Re:Var and val in Java?
by deanCommie on Sunday March 27, 2016 @06:43AM
(#11369571)
It's a backwards-compatibility problem. I say, make the breaking changes. The Java philosophy is diametrically opposed to this.