Functional Programming in Java: How Functional Techniques Improve Your Java Programs
Pierre-Yves Saumont
- 出版商: Manning
- 出版日期: 2017-01-27
- 售價: $1,750
- 貴賓價: 9.5 折 $1,663
- 語言: 英文
- 頁數: 472
- 裝訂: Paperback
- ISBN: 1617292737
- ISBN-13: 9781617292736
-
相關分類:
Java 程式語言
-
相關翻譯:
Java 函數式編程 (簡中版)
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$420$252 -
$880$695 -
$650$585 -
$980$490 -
$1,188BDD in Action: Behavior-driven development for the whole software lifecycle (Paperback)
-
$580$493 -
$580$452 -
$580$493 -
$1,800$1,710 -
$356實戰 ES2015:深入現代 JavaScript 應用開發
-
$480$379 -
$590$502 -
$680$578 -
$500$395 -
$580$458 -
$699$594 -
$2,150$2,043 -
$1,300$1,274 -
$2,520$2,394 -
$740Unity in Action: Multiplatform game development in C# , 2/e (Paperback)
-
$1,400$1,330 -
$2,050$1,948 -
$1,980$1,881 -
$2,150$2,043 -
$1,800$1,710
相關主題
商品描述
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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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.
Table of Contents
- 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
商品描述(中文翻譯)
摘要
Java 函數式編程教導 Java 開發人員如何將函數式編程的最強大優勢融入新的和現有的 Java 代碼中。您將學習在 Java 中以函數式思維來處理編碼任務,並使用函數式編程使您的應用程序更易於理解、優化、維護和擴展。
購買印刷版書籍將包含 Manning Publications 提供的 PDF、Kindle 和 ePub 格式的免費電子書。
關於技術
這裡有一個大膽的說法:學習函數式編程,您將成為一個更好的 Java 開發人員。幸運的是,您不必掌握函數式編程的每個方面,就能獲得巨大的回報。如果您掌握了一些核心原則,您將立即提升代碼的可擴展性、可讀性和可維護性。我們有提到您將減少錯誤嗎?讓我們開始吧!
關於本書
Java 函數式編程教導您如何將函數式編程的強大優勢融入新的和現有的 Java 代碼中。本書使用易於理解的示例、練習和插圖來教授核心函數式編程原則,如引用透明度、不可變性、持久性和惰性。在此過程中,您將發現 Java 8 中的哪些新功能受益最大。
內容簡介
- 編寫更易於閱讀和理解的代碼
- 更安全的並行和並行編程
- 處理錯誤而不使用異常
- Java 8 的功能,如 lambda、方法引用和函數接口
讀者對象
本書針對沒有函數式編程經驗的 Java 開發人員。
作者簡介
Pierre-Yves Saumont 是一位經驗豐富的 Java 開發人員,擁有三十年的企業軟件設計和構建經驗。他是 Alcatel-Lucent Submarine Networks 的研發工程師。
目錄
- 什麼是函數式編程?
- 在 Java 中使用函數
- 使 Java 更具函數性
- 遞歸、共遞和記憶化
- 使用列表處理數據
- 處理可選數據
- 處理錯誤和異常
- 高級列表處理
- 使用惰性
- 更多使用樹處理數據
- 使用高級樹解決實際問題
- 以函數式方式處理狀態變化
- 函數式輸入/輸出
- 使用演員共享可變狀態
- 以函數式方式解決常見問題