The Book of F#: Breaking Free with Managed Functional Programming (Paperback)

Dave Fancher

  • 出版商: No Starch Press
  • 出版日期: 2014-03-16
  • 定價: $1,480
  • 售價: 6.0$888
  • 語言: 英文
  • 頁數: 312
  • 裝訂: Paperback
  • ISBN: 1593275528
  • ISBN-13: 9781593275525
  • 相關分類: F#
  • 立即出貨 (庫存 < 3)

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

商品描述

F# brings the power of functional-first programming to the .NET Framework, a platform for developing software in the Microsoft Windows ecosystem. If you're a traditional .NET developer used to C# and Visual Basic, discovering F# will be a revelation that will change how you code, and how you think about coding.

In The Book of F#, Microsoft MVP Dave Fancher shares his expertise and teaches you how to wield the power of F# to write succinct, reliable, and predictable code. As you learn to take advantage of features like default immutability, pipelining, type inference, and pattern matching, you'll be amazed at how efficient and elegant your code can be.

You'll also learn how to:

  • Exploit F#'s functional nature using currying, partial application, and delegation
  • Streamline type creation and safety with record types and discriminated unions
  • Use collection types and modules to handle data sets more effectively
  • Use pattern matching to decompose complex types and branch your code within a single expression
  • Make your software more responsive with parallel programming and asynchronous workflows
  • Harness object orientation to develop rich frameworks and interact with code written in other .NET languages
  • Use query expressions and type providers to access and manipulate data sets from disparate sources

Break free of that old school of programming. The Book of F# will show you how to unleash the expressiveness of F# to create smarter, leaner code.

商品描述(中文翻譯)

F#將函數式編程的威力引入了.NET Framework,這是一個用於在Microsoft Windows生態系統中開發軟件的平台。如果你是一個傳統的.NET開發人員,習慣於使用C#和Visual Basic,那麼發現F#將是一個改變你編碼方式和思考編碼的啟示。

在《F#之書》中,微軟MVP Dave Fancher分享了他的專業知識,教你如何運用F#的力量來編寫簡潔、可靠和可預測的代碼。當你學會利用默認的不可變性、管道操作、類型推斷和模式匹配等功能時,你會對你的代碼效率和優雅感到驚訝。

你還將學習如何:
- 利用柯里化、部分應用和委派來充分發揮F#的函數式特性
- 使用記錄類型和判斷聯合來簡化類型創建和確保代碼安全性
- 使用集合類型和模塊更有效地處理數據集
- 使用模式匹配來分解複雜類型並在單個表達式中分支代碼
- 通過並行編程和異步工作流使軟件更具響應性
- 利用面向對象編程來開發豐富的框架並與其他.NET語言編寫的代碼進行交互
- 使用查詢表達式和類型提供程序從不同的源訪問和操作數據集

擺脫那種舊式的編程方式,《F#之書》將向你展示如何發揮F#的表達能力,創建更智能、更精簡的代碼。