- Добавил: literator
- Дата: 22-11-2022, 07:39
- Комментариев: 0
![A Functional Approach to Java: Augmenting Object-Oriented Code with Functional Principles (Sixth Release)](/uploads/posts/2022-11/1669091983_3751_a_functional_approach_to__ava_6_r.jpg)
Автор: Ben Weidig
Издательство: O’Reilly Media, Inc.
Год: 2022-11-16
Страниц: 320
Язык: английский
Формат: pdf, epub, mobi
Размер: 10.2 MB
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 lambdas and streams. If you're interested in applying FP concepts to your Java code, this book is for you. Developing software is quite a complex endeavor. As Java developers, we usually try to tame this complexity with object-oriented programming (OOP) as a metaphor to represent the things we are developing, such as data structures, and use a primarily statement-focused coding style to handle our program’s state. Although OOP is a well-known and battle-tested approach to developing sensible software, not every problem is a good match for it. We might introduce a certain amount of unnecessary complexity by forcing OOP principles on every problem instead of using more appropriate tools and paradigms also available to us. The functional programming (FP) paradigm offers an alternative approach to solving problems.