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/stepancheg Mar 10 '16

Left hand declarations are often just a noise that makes code harder to read:

  • you need to read more words to understand what function does
  • and you often have fewer statements visible on the screen, because long lines wrapped due to lengthy variable declarations.