Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core (時尚 F#: 為 .NET 和 .NET Core 打造優雅的函數式程式碼)

Kit Eason

  • 出版商: Apress
  • 出版日期: 2018-11-30
  • 定價: $1,980
  • 售價: 8.0$1,584
  • 語言: 英文
  • 頁數: 420
  • 裝訂: Paperback
  • ISBN: 1484239997
  • ISBN-13: 9781484239995
  • 相關分類: .NETF#
  • 立即出貨 (庫存 < 3)

  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-1
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-2
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-3
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-4
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-5
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-6
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-7
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-8
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-9
  • Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-10
Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core-preview-1

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

相關主題

商品描述

Why just get by in F# when you can program in style! This book goes beyond syntax and into design. It provides F# developers with best practices, guidance, and advice to write beautiful, maintainable, and correct code.

 

Stylish F# covers every design decision that a developer makes in constructing F# programs, helping you make the most educated and valuable design choices at every stage of code development. You will learn about the design of types and function signatures, the benefits of immutability, and the uses of partial function application. You will understand best practices for writing APIs to be used by F#, C#, and other languages. Each carefully vetted design choice is supported with compelling examples, illustrations, and rationales.

 

What You'll Learn

 

  • Know why, when, and how to code in immutable style
  • Use collection functions, piping, and function composition to build working software quickly
  • Be aware of the techniques available to bring error handling into the mainstream of program logic
  • Optimize F# code for maximum performance
  • Identify and implement opportunities to use function injection to improve program design
  • Appreciate the methods available to handle unknown data values
  • Understand asynchronous and parallel programming in F#, and how it differs from C# asynchronous programming

 

 

Who This Book Is For

Any developer who writes F# code and wants to write it better

商品描述(中文翻譯)

為什麼只是在 F# 中勉強過日子,當你可以以優雅的方式進行程式設計!這本書超越語法,深入設計。它為 F# 開發人員提供最佳實踐、指導和建議,以撰寫美觀、可維護和正確的程式碼。

《Stylish F#》涵蓋了開發人員在構建 F# 程式時所做的每個設計決策,幫助您在程式碼開發的每個階段做出最明智和有價值的設計選擇。您將了解類型和函數簽名的設計、不可變性的好處以及部分函數應用的用途。您將了解編寫供 F#、C# 和其他語言使用的 API 的最佳實踐。每個經過精心審查的設計選擇都有引人入勝的示例、插圖和理由支持。

《Stylish F#》還包括以下內容:

- 瞭解為什麼、何時以及如何以不可變的方式編寫程式碼
- 使用集合函數、管道和函數組合快速構建可運行的軟體
- 熟悉將錯誤處理帶入程式邏輯主流的技術
- 優化 F# 程式碼以獲得最佳性能
- 識別並實施使用函數注入改進程式設計的機會
- 理解處理未知數據值的方法
- 瞭解 F# 中的異步和並行程式設計,以及它與 C# 異步程式設計的不同之處

這本書適合任何撰寫 F# 程式碼並希望寫得更好的開發人員。