Sign up
Forgot password?
FAQ: Login

Weidig B. A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles

  • pdf file
  • size 4,86 MB
  • added by
Weidig B. A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles
O’Reilly Media, 2023. — 403 p. — ISBN: 1098109929.
Java developers usually tackle the complexity of software development through object-oriented programming (OOP). But not every problem is a good match for OOP. The functional programming (FP) paradigm offers you another approach to solving problems, and Java provides easy-to-grasp FP tools such as lambda expressions and Streams. If you're interested in applying FP concepts to your Java code, this book is for you. Author Ben Weidig highlights different aspects of functional programming and shows you how to incorporate them into your code without going "fully functional." You'll learn how, when, and why to use FP concepts such as immutability and pure functions to write more concise, reasonable, and future-proof code. Many developers seek to expand their horizons by using OOP and FP together. It's no longer either-or; it's both.
In this book, you will:
Get a high-level overview of functional programming, including the types already available to Java developers.
Explore different FP concepts and learn how to use them.
Learn how to augment your code and use Java's new functional features in your daily work without going fully functional.
Develop a functional mindset and improve your programming skills regardless of language or paradigm.
Who Should Read This Book
This book is for you if you are curious about functional programming and want to know what all the fuss is about and apply it to your Java code. You might already be using some functional Java types but desire a more profound knowledge of why and how to apply them more effectively. There is no need to be an expert on OOP, but the book is not a beginner’s guide to Java or OOP. You should already be familiar with the Java standard library. No prior knowledge of functional programming is required. Every concept is introduced with an explanation and examples. The book covers Java 17 as the latest Long-Term-Support (LTS) version available at publication. Knowing that many developers need to support projects with earlier versions, the general baseline will be the previous LTS, Java 11. But even if you’re stuck on Java 8, many of the discussed topics are relevant. However, some chapters will rely on newer features, like Records, which were introduced in Java 14. This book might not be for you if you are looking for a compartmentalized, recipe-style book presenting “ready-to-implement” solutions. Its main intention is to introduce functional concepts and idioms and teach you how to incorporate them into your Java code.
What You Will Learn
By the end of this book, you will have a fundamental knowledge of functional programming and its underlying concepts and how to apply this knowledge to your daily work. Every Java functional type will be at your disposal, and you will be able to build anything missing from the JDK by yourself, if necessary.
True PDF
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up