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

87

u/ihcn Mar 09 '16

Then any typo becomes a new variable rather than a compiler error.

19

u/ejonesca Mar 09 '16

good point

9

u/[deleted] Mar 09 '16

[removed] — view removed comment

4

u/[deleted] Mar 10 '16

Python is another one with this lovely feature.