SUMMARY

Picking up functional programming while staying with C# as a language is a strategy that should be based on practical considerations. This book is not telling you that C# can do everything functional just as easily as LISP, or Haskell, or even F# on the same .NET platform. It can’t. Yes, you can do most things, but they are harder, more syntactically complex, and perhaps even more difficult to understand as a consequence. This book shows you how it works, what you can and cannot do, and where the limits are.

If you are a C# programmer and you have reasons why the adoption of a different or an additional programming language is not an option for yourself or your team, this book is for you. If you want to learn about functional programming on the basis of a language you’re already familiar with, this book is for you. And if you know functional programming and you’re wondering how you can go about explaining it to your imperative programmer friends, this book is also for you.

Does it make sense to program functionally in C#? Yes, for all sorts of reasons, it does. Read on.

Get Functional Programming in C#: Classic Programming Techniques for Modern Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.