C# Functional style - Part 1
07/14/2018
I have been learning about F# and functional programming lately. There is a great F# site explaining the functional concepts fsharpforfunandprofit.
There are some really interesting concepts like Partial Application of Arguments and Currying. I wonder on how we could bring these concepts to C# and how the could would look like with the latestC# 7 syntax.
I will take an example which comes up over-and-over, and walk through this example, improving it each step in C#.
In this part I will take a look at a very simple solution, avoiding using extensions methods and Func types. My goal is not to provide a mathematically equivalent solution, but rather than to see how the new syntax to simplify.