Functional Programming with C#: Create More Supportable, Robust, and Testable Code (Paperback)
暫譯: 使用 C# 的函數式程式設計:創建更具可維護性、穩健性和可測試性的代碼 (平裝本)
Painter, Simon
買這商品的人也買了...
-
$500$395 -
$2,119$2,007 -
$480$379 -
$1,800$1,710
相關主題
商品描述
After decades of relative obscurity, functional programming is finally coming into its own. With concise, easy-to-read code that supports asynchronous, concurrent processing, aspects of functional programming have begun to appear in several traditionally object-oriented languages such as C# and Java. This practical book shows C# programmers how to use functional programming features without having to navigate an entirely new language.
Because of the shared runtime environment common to C# and F# languages, it's possible to use most of F#'s functional features in C# as well. Author Simon J. Painter explains how you can write functional code in C# right away, without having to install dependencies or features newer than .NET 3. You'll learn why functional programming concepts can bring immediate benefit to your work.
- Learn what functional programming is and how it originated
- Discover features of the functional paradigm using a more familiar language
- Start coding functionally in C# right away, without relying on third-party libraries
- Write code that's more robust, less error prone, and easier to test
- Examine less conventional ways to look at structures available in C#
- Explore the practicalities of using functional C# in a business environment
商品描述(中文翻譯)
在經歷了幾十年的相對默默無聞後,函數式編程終於開始受到重視。由於其簡潔且易於閱讀的代碼,支持非同步和並發處理,函數式編程的某些特性已開始出現在幾種傳統的物件導向語言中,例如 C# 和 Java。本書實用地向 C# 程式設計師展示如何使用函數式編程特性,而無需學習全新的語言。
由於 C# 和 F# 語言共享相同的執行環境,因此在 C# 中也可以使用大多數 F# 的函數式特性。作者 Simon J. Painter 解釋了如何立即在 C# 中編寫函數式代碼,而無需安裝依賴項或使用比 .NET 3 更新的功能。您將學習到為什麼函數式編程概念能夠立即為您的工作帶來好處。
- 了解什麼是函數式編程以及它的起源
- 使用更熟悉的語言發現函數式範式的特性
- 立即開始在 C# 中進行函數式編程,而無需依賴第三方庫
- 編寫更健壯、錯誤更少且更易於測試的代碼
- 檢視 C# 中可用結構的非傳統方式
- 探索在商業環境中使用函數式 C# 的實用性