Functional Programming in Java, Second Edition
Harness the Power of Streams and Lambda Expressions
- 274 pages
- English
- ePUB (mobile friendly)
- Only available on web
Functional Programming in Java, Second Edition
Harness the Power of Streams and Lambda Expressions
About This Book
Don't struggle with the limitations of the imperative style; instead learn to combine object-oriented programming with the functional style to reduce the accidental complexity. Harness the functional programming capabilities of Java to create applications where the program reveals its intentions and your team can quickly understand and modify code to align with changing business requirements. Unlock the power of lambda expressions and the Streams API to turn the oft-written spaghetti code into highly concise, expressive, elegant, and maintainable code. See how Streams make the arduous task of parallelizing code as easy as flipping a switch when superior speed is necessary.
Apply design patterns built around lambda expressions, safely manage resource allocations, use memoization, and learn to transform data into different forms, all while honoring immutability, and providing thread safety to leverage lazy evaluation for efficiency and parallel execution for performance. Move beyond the basics, explore the idioms for writing functional programs. Learn to think functionally by refactoring legacy code into the functional style. And, if your code runs aground due to failures, learn to properly handle errors the functional way.
Don't drown in theory; instead learn the practical functional programming techniques to create superior Java code.
Frequently asked questions
Information
Table of contents
- Functional Programming in Java, S econd Edition