Functional Programming in Scala, 2/e (Paperback)
暫譯: Scala 函數式程式設計 (第二版)
Pilquist, Michael, Chiusano, Paul, Bjarnasson, Rúnar
買這商品的人也買了...
-
$3,400$3,230 -
$1,881Linux Device Drivers, 3/e (Paperback)
-
$950$808 -
$320$253 -
$980$774 -
$2,100$1,995 -
$1,064Wicked Cool Shell Scripts: 101 Scripts for Linux, OS X, and Unix Systems, 2/e (Paperback)
-
$1,140$1,083 -
$2,980$2,831 -
$780$616 -
$980$774 -
$580$452 -
$1,200$948 -
$611NGINX 經典教程
-
$1,280$1,011 -
$1,116Django 4 By Example : Build powerful and reliable Python web applications from scratch, 4/e (Paperback)
-
$594$564 -
$650$507 -
$680$537 -
$630$498 -
$760$600 -
$780$616 -
$708$673 -
$600$468 -
$680$537
商品描述
This international bestseller has been revised with new exercises, annotations, and full coverage of Scala 3.
In Functional Programming in Scala, Second Edition you will learn how to:
- Recognize and write purely functional code
- Work with errors without using exceptions
- Work with state and concurrency
- Interact with functional structures that define common behaviors
- Write code that performs I/O without sacrificing functional programming
Functional Programming in Scala has helped over 30,000 developers discover the power of functional programming. You'll soon see why reviewers have called it "mindblowing"! The book smooths the complexity curve of functional programming, making it simple to understand the basics and intuitive to progress to more advanced topics. Concrete examples and exercises show you FP in the real world and reveal how it can improve your everyday coding practices. This second edition comes packed with the latest standards of FP, as well as full code updates to Scala 3, and its new language features.
Foreword by Daniel Spiewak.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Functional code is easy to test, reuse, and parallelize, and it's practically immune to whole categories of state-related bugs. With its strong functional features, familiar syntax, and seamless interoperability with Java, there's no better place to start learning functional programming than the flexible Scala language.
About the Book
In Functional Programming with Scala, Second Edition you'll learn functional programming from first principles. Hands-on exercises and examples make it easy to start thinking and coding functionally. This revised edition contains extensive exercise annotations to help you explore FP in depth, along with steps to build your own functional libraries in Scala. Once the functional lightbulb goes on, you'll never look at coding the same way again.
What's Inside
- Recognize and write purely functional code
- Work with errors without using exceptions
- Work with state and concurrency
- Interact with functional structures that define common behaviors
About the Reader
For Java or Scala programmers. No knowledge of functional programming required.
About the Author
Michael Pilquist is the lead maintainer of FS2, a functional streaming library, and contributes to the Typelevel ecosystem. Paul Chiusano and Rúnar Bjarnason are recognized experts in functional programming and authors of the first edition of Functional Programming with Scala.
Table of Contents:
PART 1 - INTRODUCTION TO FUNCTIONAL PROGRAMMING
1 What is functional programming?
2 Getting started with functional programming in Scala
3 Functional data structures
4 Handling errors without exceptions
5 Strictness and laziness
6 Purely functional state
PART 2 - FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES
7 Purely functional parallelism
8 Property-based testing
9 Parser combinators
PART 3 - COMMON STRUCTURES IN FUNCTIONAL DESIGN
10 Monoids
11 Monads
12 Applicative and traversable functors
PART 4 - EFFECTS AND I/O
13 External effects and I/O
14 Local effects and mutable state
15 Stream processing and incremental I/O
商品描述(中文翻譯)
這本國際暢銷書已修訂,新增練習題、註解,並全面涵蓋 Scala 3。
Scala 的函數式程式設計(第二版)將教你如何:
- 識別並撰寫純函數式程式碼
- 在不使用例外的情況下處理錯誤
- 處理狀態和併發
- 與定義常見行為的函數式結構互動
- 撰寫執行 I/O 的程式碼而不犧牲函數式程式設計
Scala 的函數式程式設計已幫助超過 30,000 名開發者發現函數式程式設計的力量。你將很快明白為什麼評論者稱其為「令人震驚」!這本書平滑了函數式程式設計的複雜度曲線,使得理解基礎知識變得簡單,並且直觀地進入更高級的主題。具體的範例和練習展示了函數式程式設計在現實世界中的應用,並揭示了它如何改善你日常的編碼實踐。這第二版包含了最新的函數式程式設計標準,以及對 Scala 3 的完整程式碼更新和其新語言特性。
前言由 Daniel Spiewak 撰寫。
購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF、Kindle 和 ePub 格式電子書。
關於技術
函數式程式碼易於測試、重用和並行化,並且幾乎對整個類別的狀態相關錯誤免疫。憑藉其強大的函數式特性、熟悉的語法以及與 Java 的無縫互操作性,沒有比靈活的 Scala 語言更好的地方來開始學習函數式程式設計。
關於本書
在 Scala 的函數式程式設計(第二版)中,你將從基本原則學習函數式程式設計。實作練習和範例使你能輕鬆開始以函數式思維和編碼。這個修訂版包含了大量的練習註解,幫助你深入探索函數式程式設計,並提供步驟來建立自己的函數式庫。當函數式的靈光乍現時,你將再也不會以相同的方式看待編碼。
內容概覽
- 識別並撰寫純函數式程式碼
- 在不使用例外的情況下處理錯誤
- 處理狀態和併發
- 與定義常見行為的函數式結構互動
關於讀者
適合 Java 或 Scala 程式設計師。無需具備函數式程式設計的知識。
關於作者
Michael Pilquist是 FS2 的主要維護者,這是一個函數式串流庫,並為 Typelevel 生態系統做出貢獻。Paul Chiusano 和 Rúnar Bjarnason 是函數式程式設計的公認專家,也是Scala 的函數式程式設計第一版的作者。
目錄:
第一部分 - 函數式程式設計導論
1 什麼是函數式程式設計?
2 開始使用 Scala 的函數式程式設計
3 函數式資料結構
4 在不使用例外的情況下處理錯誤
5 嚴格性與懶惰
6 純函數式狀態
第二部分 - 函數式設計與組合子庫
7 純函數式並行性
8 基於屬性的測試
9 解析器組合子
第三部分 - 函數式設計中的常見結構
10 單元
11 單子
12 應用函子和可遍歷函子
第四部分 - 效果與 I/O
13 外部效果與 I/O
14 本地效果與可變狀態
15 串流處理與增量 I/O
作者簡介
Michael Pilquist has been using Scala since 2009, when he was convinced to give it a try by listening to Dick Wall and the Java Posse. He introduced Scala at Comcast and has written a number of open source functional programming libraries, including scodec, simulacrum, and ip4s. He is also the lead maintainer of FS2, a functional streaming library, and contributes heavily to the Typelevel ecosystem.
Paul Chiusano has been writing and shipping functional code in Scala since 2008 and is responsible for the introduction and growth of Scala usage at his company, Capital IQ. As part of this effort he co-designed a functional programming curriculum and taught an internal course for coworkers interested in learning FP. Paul is also a regular blogger and speaker on functional programming and Scala.
Rúnar Bjarnason and Paul Chiusano are recognized experts in functional programming and authors of the first edition of Functional Programming with Scala.
作者簡介(中文翻譯)
Michael Pilquist 自 2009 年以來一直在使用 Scala,當時他受到 Dick Wall 和 Java Posse 的啟發而決定嘗試。他在 Comcast 引入了 Scala,並撰寫了多個開源的函數式程式設計庫,包括 scodec、simulacrum 和 ip4s。他也是 FS2 的主要維護者,這是一個函數式串流庫,並且在 Typelevel 生態系統中貢獻良多。
Paul Chiusano 自 2008 年以來一直在 Scala 中撰寫和發佈函數式程式碼,並負責在他的公司 Capital IQ 中引入和推廣 Scala 的使用。作為這項工作的部分,他共同設計了一個函數式程式設計課程,並為有興趣學習 FP 的同事教授內部課程。Paul 也是一位定期撰寫部落格和演講的函數式程式設計和 Scala 專家。
Rúnar Bjarnason 和 Paul Chiusano 是函數式程式設計的公認專家,也是《Functional Programming with Scala》第一版的作者。