A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles
Weidig, Ben
- 出版商: O'Reilly
- 出版日期: 2023-06-13
- 定價: $2,600
- 售價: 9.5 折 $2,470
- 貴賓價: 9.0 折 $2,340
- 語言: 英文
- 頁數: 403
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1098109929
- ISBN-13: 9781098109929
-
相關分類:
Java 程式語言、Object-oriented
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$790$616 -
$720$562 -
$954$906 -
$780$663 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$620$465 -
$450$338 -
$580$435 -
$560$437 -
$780$616 -
$800$632 -
$720$562 -
$650$507 -
$600$468 -
$1,850$1,758 -
$620$484 -
$680$537 -
$580$458 -
$780$585 -
$790$616 -
$980$735 -
$680$530 -
$620$465 -
$780$616 -
$980$774
相關主題
商品描述
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.
Author Ben Weidig highlights different aspects of functional programming and shows you how to incorporate them in 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 two parts, this book includes:
- A Functional Approach: Get a high-level overview of functional programming, including the types already available to Java developers. Then explore different FP concepts and learn how to use them.
- Real-World Problems, Patterns, and Recipes: Apply what you've learned in part one to the typical real-world problems you might encounter in your daily work.
商品描述(中文翻譯)
Java開發人員通常通過面向對象編程(OOP)來應對軟件開發的複雜性。但並非每個問題都適合使用OOP。函數式編程(FP)範式為您提供了另一種解決問題的方法,而Java提供了易於理解的FP工具,如lambda和stream。如果您有興趣將FP概念應用於Java代碼中,這本書適合您。
作者Ben Weidig突出了函數式編程的不同方面,並向您展示如何在代碼中融入它們,而不完全遵循函數式編程。您將學習何時以及為什麼使用FP概念,例如不可變性和純函數,以編寫更簡潔、合理和具有未來可擴展性的代碼。許多開發人員希望通過同時使用OOP和FP來擴展自己的視野。這不再是非此即彼,而是兩者兼而有之。
本書分為兩部分,包括:
- 函數式方法:獲得函數式編程的高級概述,包括Java開發人員已經可用的類型。然後探索不同的FP概念並學習如何使用它們。
- 真實世界的問題、模式和示例:將第一部分所學應用於您在日常工作中可能遇到的典型真實世界問題。
這本書的目的是幫助您將FP概念應用於Java代碼中,以提高代碼的質量和可維護性。無論您是Java開發人員還是對函數式編程感興趣的人,這本書都將為您提供實用的指南和示例。