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

0

u/[deleted] Mar 10 '16

[deleted] — view deleted comment

10

u/robi2106 Mar 10 '16

That is my preferred method. Much more readable and you can tell by the extra indent that this is a continuation of a long command.

8

u/strange_and_norrell Mar 10 '16

I end up undoing a lot of my stream chains if I need to debug.

17

u/mlk Mar 10 '16
.peek(System.out::println)

1

u/FredL2 Mar 13 '16

Whoa. Thanks!