Functional Programming for Java Developers: Tools for Better Concurrency, Abstraction, and Agility (Paperback)

Dean Wampler

  • 出版商: O'Reilly
  • 出版日期: 2011-08-30
  • 定價: $900
  • 售價: 9.5$855
  • 貴賓價: 9.0$810
  • 語言: 英文
  • 頁數: 90
  • 裝訂: Paperback
  • ISBN: 1449311032
  • ISBN-13: 9781449311032
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

Software development today is embracing functional programming (FP), whether it's for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object-oriented language.

Dean Wampler, Java expert and author of Programming Scala (O'Reilly), shows you how to apply FP principles such as immutability, avoidance of side-effects, and higher-order functions to your Java code. Each chapter provides exercises to help you practice what you've learned. Once you grasp the benefits of functional programming, you’ll discover that it improves all of the code you write.

  • Learn basic FP principles and apply them to object-oriented programming
  • Discover how FP is more concise and modular than OOP
  • Get useful FP lessons for your Java type design—such as avoiding nulls
  • Design data structures and algorithms using functional programming principles
  • Write concurrent programs using the Actor model and software transactional memory
  • Use functional libraries and frameworks for Java—and learn where to go next to deepen your functional programming skills

商品描述(中文翻譯)

如今,軟體開發越來越多地採用函數式編程(FP),不論是用於撰寫並行程式還是處理大數據。那麼,這對於Java開發人員來說意味著什麼呢?這本簡明的書為Java開發人員或任何使用面向對象語言的人提供了一個實用且易於理解的FP入門。

Java專家、《Programming Scala》(O'Reilly)的作者Dean Wampler向您展示如何將FP原則應用於Java代碼中,例如不可變性、避免副作用和高階函數。每一章都提供了練習題,幫助您練習所學的知識。一旦您掌握了函數式編程的好處,您會發現它能改進您所編寫的所有代碼。

本書內容包括:
- 學習基本的FP原則並將其應用於面向對象編程
- 發現FP比面向對象編程更簡潔和模塊化
- 為Java類型設計獲得有用的FP教訓,例如避免空值
- 使用函數式編程原則設計數據結構和算法
- 使用Actor模型和軟件事務記憶體編寫並行程式
- 使用Java的函數庫和框架,並了解下一步如何深入學習函數式編程技巧

這本書將幫助您理解函數式編程的核心概念,並將其應用於Java開發中,從而提高您的程式碼質量和效率。