17.1 Introduction

The way you think about Java programming is about to change profoundly. Prior to Java SE 8, Java supported three programming paradigms—procedural programming, object-oriented programming and generic programming. Java SE 8 adds functional programming. The new language and library capabilities that support this paradigm were added to Java as part of Project Lambda:

In this chapter, we’ll define functional programming and show how to use it to write programs faster, more concisely and with fewer bugs than programs written with previous techniques. In Chapter 23, Concurrency, you’ll see that functional programs are easier to parallelize (i.e., perform multiple operations simultaneously) ...

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.