Functional Programming in C#: How to write better C# code Front Cover

Functional Programming in C#: How to write better C# code

  • Length: 408 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2017-09-17
  • ISBN-10: 1617293954
  • ISBN-13: 9781617293955
  • Sales Rank: #314532 (See Top 100 Books)
Description

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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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.

Table of Contents

Part 1. Core concepts
Chapter 1. Introducing functional programming
Chapter 2. Why function purity matters
Chapter 3. Designing function signatures and types
Chapter 4. Patterns in functional programming
Chapter 5. Designing programs with function composition

Part 2. Becoming functional
Chapter 6. Functional error handling
Chapter 7. Structuring an application with functions
Chapter 8. Working effectively with multi-argument functions
Chapter 9. Thinking about data functionally
Chapter 10. Event sourcing: a functional approach to persistence

Part 3. Advanced techniques
Chapter 11. Lazy computations, continuations, and the beauty of monadic composition
Chapter 12. Stateful programs and stateful computations
Chapter 13. Working with asynchronous computations
Chapter 14. Data streams and the Reactive Extensions
Chapter 15. An introduction to message-passing concurrency

To access the link, solve the captcha.