Thinking in LINQ
- Length: 272 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2014-11-26
- ISBN-10: 143026845X
- ISBN-13: 9781430268451
- Sales Rank: #1333221 (See Top 100 Books)
Thinking in LINQ: Harnessing the Power of Functional Programming in .NET Applications
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.
What youll learn
- Basic and extended LINQ operators
- Text processing
- Loop refactoring
- Monitoring code health
- Reactive Extensions (Rx.NET)
- Building domain-specific languages
Who this book is for
.NET programmers who are comfortable with some high level programming language like C++/C#. Prior knowledge of LINQ is helpful but not required.
Table of Contents
Chapter 1. Thinking Functionally
Chapter 2. Series Generation
Chapter 3. Text Processing
Chapter 4. Refactoring with LINQ
Chapter 5. Refactoring with MoreLINQ
Chapter 6. Creating DSL using LINQ
Chapter 7. Static Code Analysis
Chapter 8. Exploratory Data Analysis
Chapter 9. Interacting with the File System
Appendix A: Lean LINQ Tips
Appendix B: Taming Streaming Data with Rx.NET