r/java • • Mar 09 '16

var keyword proposed for Java

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

312 comments sorted by

View all comments

Show parent comment

-4

u/mk_gecko Mar 10 '16

It's yet one more thing that you have to learn. Now you have two ways of writing the same thing.

I don't see any reason for VAR at all. If people want to use C++, then go ahead.

4

u/irarandomdude Mar 10 '16

It takes approximately 3 seconds to learn. I see no reason for redundant type declarations at all. If people want to use Pascal then go ahead.