Title: Java 8 Lambdas and Streams by Marty Hall
When: Sep 4, 6:30 - 9 PM (presentation begins at 7 PM)
Although lambda expressions are not quite real functions, they are close enough for most purposes, and have very succinct syntax that looks like Scala anonymous functions (minus the type declarations). Although it hardly makes Java into Lisp, lambdas support a definite functional programming style that is long overdue in Java.
Streams are wrappers around collections that use lambdas pervasively. They support many operations that use lambdas, including "map", "reduce", "filter", and "forEach". They also support lazy evaluation, so if you map firstName over Employees, filter ones that start with "P", then choose the first, it really only maps and filters until the first match. Streams can also be parallel, so that the operations are automatically done concurrently, without any explicit multithreading code.
About the Speaker:
Marty Hall has been a Java book author and speaker since the very early days of Java. Wrote wrote "Core Servlets and JavaServer Pages", "More Core Servlets and javaServer Pages", and "Core Web Programming". He also runs his own consultancy and teaches programming regularly at Johns Hopkins University.
Many thanks to the following annual supporters of the DC/Nova JUG.