Functional Programming in Java: How Functional Techniques Improve Your Java Programs

  • 7h 5m
  • Pierre-Yves Saumont
  • Manning Publications
  • 2017

Summary

Functional Programming in Java teaches Java developers how to incorporate the most powerful benefits of functional programming into new and existing Java code. You'll learn to think functionally about coding tasks in Java and use FP to make your applications easier to understand, optimize, maintain, and scale.

About the Technology

Here's a bold statement: learn functional programming and you'll be a better Java developer. Fortunately, you don't have to master every aspect of FP to get a big payoff. If you take in a few core principles, you'll see an immediate boost in the scalability, readability, and maintainability of your code. And did we mention that you'll have fewer bugs? Let's get started!

About the Book

Functional Programming in Java teaches you how to incorporate the powerful benefits of functional programming into new and existing Java code. This book uses easy-to-grasp examples, exercises, and illustrations to teach core FP principles such as referential transparency, immutability, persistence, and laziness. Along the way, you'll discover which of the new functionally inspired features of Java 8 will help you most.

What's Inside

  • Writing code that's easier to read and reason about
  • Safer concurrent and parallel programming
  • Handling errors without exceptions
  • Java 8 features like lambdas, method references, and functional interfaces

About the Reader

Written for Java developers with no previous FP experience.

About the Author

Pierre-Yves Saumont is a seasoned Java developer with three decades of experience designing and building enterprise software. He is an R&D engineer at Alcatel-Lucent Submarine Networks.

In this Book

  • Why Functional Programming?
  • About This Book
  • What is Functional Programming?
  • Using functions in Java
  • Making Java More Functional
  • Recursion, Corecursion, and Memoization
  • Data Handling with Lists
  • Dealing with Optional Data
  • Handling Errors and Exceptions
  • Advanced List Handling
  • Working with Laziness
  • More Data Handling with Trees
  • Solving Real Problems with Advanced Trees
  • Handling State Mutation in a Functional Way
  • Functional Input/Output
  • Sharing Mutable State with Actors
  • Solving Common Problems Functionally
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.5 of 526 users Rating 4.5 of 526 users (526)
Rating 4.8 of 8 users Rating 4.8 of 8 users (8)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 146 users Rating 4.4 of 146 users (146)
Rating 4.5 of 347 users Rating 4.5 of 347 users (347)