Functional Programming with C#: Create More Supportable, Robust, and Testable Code (Paperback)
Painter, Simon
買這商品的人也買了...
-
$500$395 -
$2,230$2,119 -
$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#的實際問題