News for hackers. Stuff that matters.
Re:Var and val in Java? by bmm6o on Saturday March 26, 2016 @05:30PM (#11367545)
This is an optional feature we're talking about, isn't it? You won't be forced to use it.

It's been in C# for a few versions, and you do find there are places where it always makes sense to use (foreach loops), and there are places where you want to use some judgement. Of course all variables still have a type, it's just not made explicit in the source code, so you can get your IDE to tell you what it is (e.g. by hovering).

Re:Var and val in Java? by gravypod on Saturday March 26, 2016 @05:39PM (#11367581)
If it is made available it will be used. That's kind of a golden rule: build it and they will come.

If this is widely adopted, I'd say that there will be a lot of problems that stem from it. That's why I say this shouldn't be a feature.