News for hackers. Stuff that matters.
Re:Modern Java – A Guide to Java 8 by lmm on Tuesday November 17, 2015 @11:45AM (#10582248)
That's there if you want it though.

    val customer = new Cat(): Animal
I can see arguments against inter-method type inference, but I think there's no real argument against type inference within a single method (requiring explicit types on method boundaries). If you have a billion-line method you have bigger problems.

There are no comments on this comment yet.