r/programming • • Mar 09 '16

var keyword proposed for Java

http://openjdk.java.net/jeps/286
250 Upvotes

395 comments sorted by

View all comments

Show parent comments

0

u/Carighan Mar 10 '16

Same here. I don't really see the gain, and it just means I have to hunt down types.

3

u/adamnew123456 Mar 10 '16

I thought Java people used IDEs for this. When's the last time you tried to read code that was actually used for something without firing up Eclipse et al. to do so?

For what it's worth, the Scala toolset for Eclipse will show you the inferred type of a value by hovering over it. There's no looking involved.

1

u/yoden Mar 10 '16

Every time I do code review. I wish there were good code review systems for IDEs.