February 2014
Intermediate to advanced
160 pages
4h 59m
English
It’s a whole new world in Java. We can now program in an elegant and fluent functional style, with higher-order functions. This can lead to concise code that has fewer errors and is easier to understand, maintain, and parallelize. The Java compiler works its magic so we can send lambda expressions or method references where functional interfaces are expected.
We’re all set to dive into the fun parts of lambda expressions and the JDK library that’s been fine-tuned to work with lambda expressions. In the next chapter we’ll start by using lambda expressions in one of the most fundamental programming tasks: working with collections.
| [1] |
Hoare, Charles Antony Richard, "The Emperor’s Old Clothes," Communications of the ACM 24, no. ... |