Functional Thinking: Paradigm Over Syntax (Paperback) (功能思維:範式優於語法)

Neal Ford

  • 出版商: O'Reilly
  • 出版日期: 2014-08-19
  • 定價: $1,380
  • 售價: 9.5$1,311
  • 貴賓價: 9.0$1,242
  • 語言: 英文
  • 頁數: 180
  • 裝訂: Paperback
  • ISBN: 1449365515
  • ISBN-13: 9781449365516
  • 相關分類: 軟體工程
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

If you want to take advantage of functional programming features in Java and other languages, this in-depth guide takes you beyond syntax and demonstrates how you need to think in a new way. Software architect Neal Ford shows intermediate to advanced developers how functional coding allows you to step back a level of abstraction so you can see your programming problem with greater clarity.

Each chapter shows you various examples of functional thinking, using numerous code examples from Java 8 and other JVM languages that include functional capabilities. This book may bend your mind, but you’ll come away with a good grasp of functional programming concepts.

  • Understand why many imperative languages are adding functional capabilities
  • Compare functional and imperative solutions to common problems
  • Examine ways to cede control of routine chores to the runtime
  • Learn how memoization and laziness eliminate hand-crafted solutions
  • Explore functional approaches to design patterns and code reuse
  • View real-world examples of functional thinking with Java 8, and in functional architectures and web frameworks
  • Learn the pros and cons of living in a paradigmatically richer world

商品描述(中文翻譯)

如果你想在Java和其他語言中利用函數式編程的特性,這本深入指南將帶你超越語法,並展示你需要以一種新的方式思考。軟體架構師Neal Ford向中高級開發人員展示函數式編碼如何讓你能夠退一步,以更清晰的方式看待你的編程問題。

每一章節都會展示不同的函數式思維示例,使用來自Java 8和其他支援函數式能力的JVM語言的眾多程式碼示例。這本書可能會讓你的思維有所轉變,但你將對函數式編程概念有很好的理解。

- 瞭解為什麼許多命令式語言正在添加函數式能力
- 比較函數式和命令式解決常見問題的方法
- 探討將常規任務的控制權交給運行時的方法
- 學習如何使用記憶化和惰性來消除手工解決方案
- 探索函數式設計模式和代碼重用的方法
- 查看Java 8中的函數式思維的真實世界示例,以及函數式架構和Web框架中的應用
- 瞭解生活在一個範式更豐富的世界中的利弊