Two small points of feedback

Brian Goetz brian.goetz at
Fri Jan 4 06:49:14 PST 2013

> 1) "What does this code do"
>    range(1, 10).forEach( (i) -> System.out.println(i) );

Why would this be different from:

   for(int i=0; i<10; i++)

Or from the numerous methods that take half-open (start, end) pairs, 
like String.substring?

More information about the lambda-dev mailing list