Becoming Functional (Paperback)
暫譯: 成為函數式程式設計
Joshua Backfield
- 出版商: O'Reilly
- 出版日期: 2014-08-19
- 定價: $990
- 售價: 8.0 折 $792
- 語言: 英文
- 頁數: 152
- 裝訂: Paperback
- ISBN: 1449368174
- ISBN-13: 9781449368173
-
相關分類:
C++ 程式語言、Command Line
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$480$379 -
$980$833 -
$940$700 -
$650$514 -
$450$351 -
$420$332 -
$680$578 -
$580$458 -
$690$545 -
$620$490 -
$360$252 -
$780$616 -
$690$545 -
$590$460 -
$450$356 -
$400$316 -
$490$387 -
$450$356 -
$500$395 -
$540$459 -
$301社會媒體挖掘
-
$699$594 -
$551深入學習 VMware vSphere 6
-
$1,024Getting Started with TensorFlow (Paperback)
-
$199$157
相關主題
商品描述
If you have an imperative (and probably object-oriented) programming background, this hands-on book will guide you through the alien world of functional programming. Author Joshua Backfield begins slowly by showing you how to apply the most useful implementation concepts before taking you further into functional-style concepts and practices.
In each chapter, you’ll learn a functional concept and then use it to refactor the fictional XXY company’s imperative-style legacy code, writing and testing the functional code yourself. As you progress through the book, you’ll migrate from Java 7 to Groovy and finally to Scala as the need for better functional language support gradually increases.
- Learn why today’s finely tuned applications work better with functional code
- Transform imperative-style patterns into functional code, following basic steps
- Get up to speed with Groovy and Scala through examples
- Understand how first-class functions are passed and returned from other functions
- Convert existing methods into pure functions, and loops into recursive methods
- Change mutable variables into immutable variables
- Get hands-on experience with statements and nonstrict evaluations
- Use functional programming alongside object-oriented design
商品描述(中文翻譯)
如果您有命令式(可能還有物件導向)程式設計的背景,這本實作導向的書籍將引導您進入函數式程式設計的陌生世界。作者 Joshua Backfield 會慢慢開始,首先向您展示如何應用最有用的實作概念,然後再深入探討函數式風格的概念和實踐。
在每一章中,您將學習一個函數式概念,然後使用它來重構虛構的 XXY 公司的命令式風格遺留代碼,自己編寫和測試函數式代碼。隨著您在書中的進展,您將從 Java 7 遷移到 Groovy,最後轉向 Scala,因為對更好的函數式語言支持的需求逐漸增加。
- 了解為什麼當今精心調整的應用程式使用函數式代碼運行得更好
- 將命令式風格的模式轉換為函數式代碼,遵循基本步驟
- 通過範例快速掌握 Groovy 和 Scala
- 理解如何將一級函數傳遞和返回自其他函數
- 將現有的方法轉換為純函數,並將迴圈轉換為遞迴方法
- 將可變變數轉換為不可變變數
- 獲得有關語句和非嚴格評估的實作經驗
- 將函數式程式設計與物件導向設計結合使用