Functional C#: Uncover the secrets of functional programming using C# and change the way you approach your applications forever
by: Wisnu Anggoro
Print Length 页数: 370 pages
Publisher finelybook 出版社: Packt Publishing (December 30,2016)
Language 语言: English
ISBN-10: 1785282220
ISBN-13: 9781785282225
Book Description
Functional programming makes your application faster,improves performance,and increases your productivity. C# code is written at a higher level of abstraction,so that code will be closer to business requirements,abstracting away many low-level implementation details.
This book bridges the language gap for C# developers by: showing you how to create and consume functional constructs in C#. We also bridge the domain gap by: showing how functional constructs can be applied in business scenarios. We ll take you through lambda expressions and extension methods,and help you develop a deep understanding of the concepts and practices of LINQ and recursion in C#.
By the end of the book,you will be able to write code using the best approach and will be able to perform unit testing in functional programming,changing how you write your applications and revolutionizing your projects.
What you will learn
Develop an application using the functional approach
Implement unit testing to functionally program code
Create efficient code using functional programming
Work through a LINQ query so you can work with data
Compose asynchronous programs to create a responsive application
Use recursion in function programming in order to simplify code
Optimize the program code using Laziness and Caching Techniques
Contents
Preface
Chapter 1: Tasting Functional Style in C#
Chapter 2: Walkthrough Delegates
Chapter 3: Expressing Anonymous Methods with Lambda Expressions
Chapter 4: Extending Object Functionality with Extension Methods
Chapter 5: Querying Any Collection Easily with LINQ
Chapter 6: Enhancing the Responsiveness of the Functional Program with Asynchronous
Programming
Chapter 7: Learning Recursion
Chapter 8: Optimizing the Code using Laziness and Caching Techniques
Chapter 9: Working with Pattern
Chapter 10: Taking an Action in C# Functional Programming
Chapter 11: Coding Best Practice and Testing the Functional Code
Index