Functional Programming in C#: How to Write Better C# Code

  • 6h 16m
  • Enrico Buonanno
  • Manning Publications
  • 2018

Summary

Functional Programming in C# teaches you to apply functional thinking to real-world problems using the C# language. The book, with its many practical examples, is written for proficient C# programmers with no prior FP experience. It will give you an awesome new perspective.

About the Technology

Functional programming changes the way you think about code. For C# developers, FP techniques can greatly improve state management, concurrency, event handling, and long-term code maintenance. And C# offers the flexibility that allows you to benefit fully from the application of functional techniques. This book gives you the awesome power of a new perspective.

About the Book

Functional Programming in C# teaches you to apply functional thinking to real-world problems using the C# language. You'll start by learning the principles of functional programming and the language features that allow you to program functionally. As you explore the many practical examples, you'll learn the power of function composition, data flow programming, immutable data structures, and monadic composition with LINQ.

What's Inside

  • Write readable, team-friendly code
  • Master async and data streams
  • Radically improve error handling
  • Event sourcing and other FP patterns

About the Reader

Written for proficient C# programmers with no prior FP experience.

About the Author

Enrico Buonanno studied computer science at Columbia University and has 15 years of experience as a developer, architect, and trainer.

In this Book

  • About This Book
  • Introducing Functional Programming
  • Why Function Purity Matters
  • Designing Function Signatures and Types
  • Patterns in Functional Programming
  • Designing Programs with Function Composition
  • Functional Error Handling
  • Structuring an Application with Functions
  • Working Effectively with Multi-Argument Functions
  • Thinking about Data Functionally
  • Event Sourcing—A Functional Approach to Persistence
  • Lazy Computations, Continuations, and the Beauty of Monadic Composition
  • Stateful Programs and Stateful Computations
  • Working with Asynchronous Computations
  • Data Streams and the Reactive Extensions
  • An Introduction to Message-Passing Concurrency
  • Inverted Chapter Dependency Graph
  • The Core Functions of FP
SHOW MORE
FREE ACCESS