Lambdas in for-each loops

Paulo Levi i30817 at gmail.com
Fri Sep 7 00:00:54 PDT 2012


I never understood the love affair of java 1.5 with arrays at the time.
Especially varargs (which should be iterables at runtime, and because they
aren't introduce cruft copies in code when you want to drill into a
collection) and the foreach loop (which should only accept iterables if i
understand what i'm reading here).


More information about the lambda-dev mailing list