Thinking in LINQ: Harnessing the Power of Functional Programming in .NET Applications
暫譯: 在LINQ中思考:在.NET應用程式中運用函數式編程的力量

Sudipta Mukherjee

  • 出版商: Apress
  • 出版日期: 2014-11-26
  • 售價: $2,810
  • 貴賓價: 9.5$2,670
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Paperback
  • ISBN: 143026845X
  • ISBN-13: 9781430268451
  • 相關分類: .NET
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

LINQ represents a paradigm shift for developers used to an imperative/object oriented programming style, because LINQ draws on functional programming principles. Thinking in LINQ addresses the differences between these two by providing a set of succinct recipes arranged in several groups, including:

  • Basic and extended LINQ operators
  • Text processing
  • Loop refactoring
  • Monitoring code health
  • Reactive Extensions (Rx.NET)
  • Building domain-specific languages

Using the familiar "recipes" approach, Thinking in LINQ shows you how to approach building LINQ-based solutions, how such solutions are different from what you already know, and why they’re better. The recipes cover a wide range of real-world problems, from using LINQ to replace existing loops, to writing your own Swype-like keyboard entry routines, to finding duplicate files on your hard drive. The goal of these recipes is to get you "thinking in LINQ," so you can use the techniques in your own code to write more efficient and concise data-intensive applications.

商品描述(中文翻譯)

LINQ 代表了一種範式轉變,對於習慣於命令式/物件導向程式設計風格的開發者來說,因為 LINQ 借鑒了函數式程式設計的原則。《Thinking in LINQ》通過提供一組簡潔的食譜,分為幾個組別,來解釋這兩者之間的差異,包括:

- 基本和擴展的 LINQ 運算子
- 文本處理
- 迴圈重構
- 監控程式碼健康
- 反應式擴展 (Rx.NET)
- 建立特定領域語言

使用熟悉的「食譜」方法,《Thinking in LINQ》向您展示如何構建基於 LINQ 的解決方案,這些解決方案與您已知的內容有何不同,以及為什麼它們更好。這些食譜涵蓋了廣泛的現實問題,從使用 LINQ 取代現有的迴圈,到編寫您自己的類似 Swype 的鍵盤輸入例程,再到查找硬碟上的重複檔案。這些食譜的目標是讓您「思考 LINQ」,以便您可以在自己的程式碼中使用這些技術,編寫更高效且簡潔的數據密集型應用程式。