Live data from Hacker News

JEP 286: Local-Variable Type Inference

openjdk.java.net

131–132 of 132 posts

Re: JEP 286: Local-Variable Type Inference

#131

Earlier quoted context omitted.

> Why state the obvious? So you think using functions is enterprisey and over-engineering things?

Read my other reply to you on the subject! The API might be a small syntactic change, but the concepts and the implementation behind those for noobs are not. They learn OOP and constructors and then you tell them - they suck, use factories via static methods.

Yes, but that's a fault in Java the language. Keeping Java bad doesn't solve that problem.

Re: JEP 286: Local-Variable Type Inference

#132

Earlier quoted context omitted.

Read my other reply to you on the subject! The API might be a small syntactic change, but the concepts and the implementation behind those for noobs are not. They learn OOP and constructors and then you tell them - they suck, use factories via static methods.

Yes, but that's a fault in Java the language. Keeping Java bad doesn't solve that problem.

I agree. A little native support for wide-spread best practices would only be a good thing for Java.
Post reply on HN