Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core
暫譯: Stylish 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# 開發者提供最佳實踐、指導和建議,以編寫美觀、可維護且正確的代碼。

 

優雅的 F# 涵蓋了開發者在構建 F# 程式時所做的每一個設計決策,幫助你在代碼開發的每個階段做出最具知識性和價值的設計選擇。你將學習到類型和函數簽名的設計、不可變性(immutability)的好處,以及部分函數應用(partial function application)的用途。你將理解為 F#、C# 和其他語言編寫 API 的最佳實踐。每一個經過仔細審核的設計選擇都配有引人注目的範例、插圖和理由。

 

你將學到什麼

 


  • 了解為什麼、何時以及如何以不可變風格編碼

  • 使用集合函數、管道(piping)和函數組合快速構建可運行的軟體

  • 了解將錯誤處理引入程式邏輯主流的技術

  • 優化 F# 代碼以達到最佳性能

  • 識別並實施使用函數注入(function injection)來改善程式設計的機會

  • 欣賞處理未知數據值的方法

  • 理解 F# 中的非同步(asynchronous)和並行(parallel)編程,以及它與 C# 非同步編程的不同之處

 

 

本書適合誰

任何編寫 F# 代碼並希望改進其編寫方式的開發者