Grokking Functional Programming (Paperback)
暫譯: 深入理解函數式程式設計 (平裝本)

Plachta, Michal

  • 出版商: Manning
  • 出版日期: 2022-11-08
  • 售價: $2,180
  • 貴賓價: 9.5$2,071
  • 語言: 英文
  • 頁數: 475
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1617291838
  • ISBN-13: 9781617291838
  • 相關分類: 程式語言軟體工程
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

There’s no need to fear going functional! This friendly, lively, and engaging guide is perfect for any perplexed programmer. It lays out the principles of functional programming in a simple and concise way that will help you grok what FP is really all about.

In Grokking Functional Programming you will learn:
 

• Designing with functions and types instead of objects
• Programming with pure functions and immutable values
• Writing concurrent programs using the functional style
• Testing functional programs
• Multiple learning approaches to help you grok each new concept


If you’ve ever found yourself rolling your eyes at functional programming, this is the book for you. Open up Grokking Functional Programming and you’ll find functional ideas mapped onto what you already know as an object-oriented programmer. The book focuses on practical aspects from page one. Hands-on examples apply functional principles to everyday programming tasks like concurrency, error handling, and improving readability. Plus, puzzles and exercises let you think and practice what you're learning. You’ll soon reach an amazing “aha” moment and start seeing code in a completely new way.

about the technology

Finally, there’s an easy way to learn functional programming! This unique book starts with the familiar ideas of OOP and introduces FP step-by-step using relevant examples, engaging exercises, and lots of illustrations. You’ll be amazed at how quickly you’ll start seeing software tasks from this valuable new perspective.

about the book

Grokking Functional Programming introduces functional programming to imperative developers. You’ll start with small, comfortable coding tasks that expose basic concepts like writing pure functions and working with immutable data. Along the way, you’ll learn how to write code that eliminates common bugs caused by complex distributed state. You’ll also explore the FP approach to IO, concurrency, and data streaming. By the time you finish, you’ll be writing clean functional code that’s easy to understand, test, and maintain.

商品描述(中文翻譯)

不必害怕使用函數式編程!這本友好、生動且引人入勝的指南非常適合任何困惑的程式設計師。它以簡單明瞭的方式闡述了函數式編程的原則,幫助你理解函數式編程的真正意義。



Grokking Functional Programming中,你將學到:

 

• 使用函數和類型進行設計,而不是物件

• 使用純函數和不可變值進行編程

• 使用函數式風格編寫並行程式

• 測試函數式程式

• 多種學習方法幫助你理解每個新概念



如果你曾經對函數式編程翻白眼,那麼這本書就是為你而寫的。打開Grokking Functional Programming,你會發現函數式的概念與你作為物件導向程式設計師所熟悉的內容相映照。這本書從第一頁開始就專注於實用方面。實作範例將函數式原則應用於日常編程任務,如並行處理、錯誤處理和提高可讀性。此外,謎題和練習讓你思考並實踐所學的知識。你將很快達到驚人的“恍然大悟”時刻,開始以全新的方式看待程式碼。

關於技術

終於,有一種簡單的方法來學習函數式編程!這本獨特的書籍從熟悉的物件導向編程(OOP)概念開始,並逐步使用相關範例、引人入勝的練習和大量插圖來介紹函數式編程。你會驚訝於自己多快就能從這個寶貴的新視角看待軟體任務。

關於這本書

Grokking Functional Programming向命令式開發者介紹函數式編程。你將從小而舒適的編碼任務開始,這些任務揭示了基本概念,如編寫純函數和處理不可變數據。在這個過程中,你將學會如何編寫消除由複雜的分佈式狀態引起的常見錯誤的程式碼。你還將探索函數式編程在輸入輸出(IO)、並行處理和數據流方面的應用。當你完成時,你將能夠編寫易於理解、測試和維護的乾淨函數式程式碼。

作者簡介

Michal Plachta started using Scala commercially in 2014 and has been an active contributor to the Scala and JVM communities since. He regularly speaks at conferences, runs workshops, and organizes meetups to help others become better at functional programming. You can find his blog at michalplachta.com.

作者簡介(中文翻譯)

**Michal Plachta** 自 2014 年起開始在商業上使用 Scala,並且自那時以來一直是 Scala 和 JVM 社群的活躍貢獻者。他定期在會議上發表演講,舉辦工作坊,並組織聚會,以幫助他人提升函數式程式設計的能力。您可以在 michalplachta.com 找到他的部落格。

目錄大綱

Part 1  The functional toolkit
1 Learning functional programming
2 Pure functions
3 Immutable values
4 Functions as values
Part 2  Functional programs
5 Sequential programs
6 Error handling
7 Requirements as types
8 IO as values
9 Streams as values
10 Concurrent programs
Part 3  Applied functional programming
11 Designing functional programs
12 Testing functional programs

目錄大綱(中文翻譯)

Part 1  The functional toolkit

1 Learning functional programming

2 Pure functions

3 Immutable values

4 Functions as values

Part 2  Functional programs

5 Sequential programs

6 Error handling

7 Requirements as types

8 IO as values

9 Streams as values

10 Concurrent programs

Part 3  Applied functional programming

11 Designing functional programs

12 Testing functional programs