Software development today is embracing functional programming (FP), whether it's for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object-oriented language.
Dean Wampler, Java expert and author of Programming Scala (O'Reilly), shows you how to apply FP principles such as immutability, avoidance of side-effects, and higher-order functions to your Java code. Each chapter provides exercises to help you practice what you've learned. Once you grasp the benefits of functional programming, you’ll discover that it improves all of the code you write.
Chapter 1 Why Functional Programming?
Chapter 2 What Is Functional Programming?
Chapter 3 Data Structures and Algorithms
Chapter 4 Functional Concurrency
Chapter 5 Better Object-Oriented Programming
Chapter 6 Where to Go From Here