A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles (Paperback)
暫譯: Java 的函數式方法:用函數原則增強物件導向的 Java 代碼 (平裝本)
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$612 -
$477Rust 權威指南 (The Rust Programming Language (Covers Rust 2018))
-
$780$585 -
$1,663$1,575 -
$450$356 -
$580$458 -
$780$616 -
$800$632 -
$720$504 -
$650$487 -
$1,575The Rust Programming Language, 2/e (Paperback)
-
$620$409 -
$680$537 -
$780$585 -
$790$616 -
$980$735 -
$680$510 -
$620$434 -
$780$616 -
$980$774 -
$680$537 -
$380$300 -
$420$332 -
$820$648
相關主題
商品描述
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 工具,如 lambdas 和 streams。如果您有興趣將 FP 概念應用於您的 Java 代碼,這本書就是為您而寫。
作者 Ben Weidig 突出介紹了函數式程式設計的不同面向,並展示了如何在您的代碼中融入這些概念,而不必完全轉向「函數式」。您將學習如何、何時以及為什麼使用 FP 概念,如不可變性和純函數,以編寫更簡潔、合理且未來可擴展的代碼。許多開發者希望通過同時使用 OOP 和 FP 來擴展他們的視野。這不再是二選一,而是兩者兼具。
本書分為兩個部分,包括:
- **函數式方法:** 獲得函數式程式設計的高層次概述,包括已經可供 Java 開發者使用的類型。然後探索不同的 FP 概念並學習如何使用它們。
- **實際問題、模式和範例:** 將您在第一部分學到的知識應用於您在日常工作中可能遇到的典型實際問題。