Book Image

Functional Programming in C# - Part 1 [Video]

By : Wisnu Anggoro
Book Image

Functional Programming in C# - Part 1 [Video]

By: Wisnu Anggoro

Overview of this book

<p>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 video 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 video, 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.</p> <h2>Style and Approach</h2> <p>This course takes a pragmatic approach and shows you techniques to write better functional constructs in C#. We’ll also show you how these concepts can be applied in business scenarios.</p>
Table of Contents (4 chapters)
Chapter 4
Extending Object Functionality with Extension Methods
Content Locked
Section 4
Advantages and Limitations of the Extension Method
Method chaining in functional programming relies on extension methods. As we have already discussed in Section 1, method chaining makes our code easier to read. At the same time, extension method still has some limitations. Let’s take a look at the advantages and limitations of extension method. - Take a look at advantages of extension method - Extend a static class - Modify the method implementation