Take advantage of the growing trend in functional programming.C# is the number-one language used by .NET developers and one of the most popular programming languages in the world. It has many built-in functional programming features, but most are complex and little understood. With the shift to functional programming increasing at a rapid pace, you need to know how to leverage your existing skills to take advantage of this trend.Functional Programming in C# leads you along a path that begins with the historic value of functional ideas. Inside, C# MVP and functional programming expert Oliver Sturm explains the details of relevant language features in C# and describes theory and practice of using functional techniques in C#, including currying, partial application, composition, memoization, and monads. Next, he provides practical and versatile examples, which combine approaches to solve problems in several different areas, including complex scenarios like concurrency and high-performance calculation frameworks as well as simpler use cases like Web Services and business logic implementation.Shows how C# developers can leverage their existing skills to take advantage of functional programming Uses very little math theory and instead focuses on providing solutions to real development problems with functional programming methods, unlike traditional functional programming titles Includes examples ranging from simple cases to more complex scenarios Let Functional Programming in C# show you how to get in front of the shift toward functional programming.
Books that center around a particular library are pretty limited in value, and here it uses examples from a library the author created called FCSLib. Although some aspects are similar to LINQ, other examples aren’t, and I don’t get why he just didn’t use LINQ which would be more valuable to C# developers.
When talking about generics, it becomes hard to read, given you can have chains of input and output parameters (Funcs that return funcs), and there’s plenty of these in here. It’s unavoidable really, but I’m just saying it’s naturally confusing.
Some parts I read a few times, then realised he seemed to have given a complex explanation of something I already knew - so he seemed to be overcomplicating some aspects.
I got half-way through then decided I really wasn’t getting anything from this.
A bit wordy and repetitive at times, but otherwise it's a fairly good read.
I would have liked to have seen more examples (I damn near always have this complaint!) but all this book has done is make me really interested in learning F# and/or Haskell.
That's usually the sign of something good - makes you want to proceed.
Shows how the C# language has been adapted over the years to support some rich functional capabilities and gives some powerful usages.
A must for anybody that doesn't want to get left behind in their C# development, especially as we continue to move towards multi-core and async processing.