𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Functional Programming in C#, Second Edition

✍ Scribed by Enrico Buonanno


Publisher
Manning
Year
2022
Tongue
English
Leaves
448
Edition
2
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Real world examples and practical techniques for functional programming in C# without the jargon and theory.

In Functional Programming in C#, Second Edition you will learn how to:

Use higher-order functions to reduce duplication and do more with less code
Β Β Β  Use pure functions to write code that is easy to test and optimize
Β Β Β  Write pleasant APIs that accurately describe your program's behavior
Β Β Β  Use dedicated types to handle nullability, system errors, and validation rules predictably and elegantly
Β Β Β  Write composable code without the overhead of an IoC container

Functional Programming in C# has helped thousands of developers apply functional thinking to C# code. Its practical examples and spot-on treatment of FP concepts makes it the perfect guide for proficient C# programmers. This second edition is fully revised to cover new functional-inspired features in the most recent releases of C#, including tuples, async streams, pattern matching, and records. Each chapter is packed with awesome perspectives and epiphany moments on how functional programming can change the way you code.

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

About the technology
Turbocharge your C# code. Good functional techniques will improve concurrency, state management, event handling, and maintainability of your software. This book gives you practical answers to why, how, and where to add functional programing into your C# coding practice.

About the book
Functional Programming in C#, Second Edition teaches functional thinking for real-world problems. It reviews the C# language features that allow you to program functionally and through many practical examples shows the power of function composition, data-driven programming, and immutable data structures. All code examples work with .NET 6 and C# 10.

What's inside

Higher-order functions reduce duplication and do more with less code
Β Β Β  Code based on pure functions is easy to test and optimize
Β Β Β  Write pleasant APIs that accurately describe your program’s behavior
Β Β Β  Write a Web API in a functional style
Β Β Β  Monadic composition with LINQ

About the reader
For intermediate C# programmers.

About the author
Enrico Buonanno studied Computer Science at Columbia University and has over 15 years of experience as a developer, architect, and trainer.

Table of Contents
PART 1 GETTING STARTED
1 Introducing functional programming
2 Thinking in functions
3 Why function purity matters
PART 2 CORE TECHNIQUES
4 Designing function signatures and types
5 Modeling the possible absence of data
6 Patterns in functional programming
7 Designing programs with function composition
PART 3 FUNCTIONAL DESIGNS
8 Functional error handling
9 Structuring an application with functions
10 Working effectively with multi-argument functions
11 Representing state and change
12 A short introduction to functional data structures
13 Event sourcing: A functional approach to persistence
PART 4 ADVANCED TECHNIQUES
14 Lazy computations, continuations, and the beauty of monadic composition
15 Stateful programs and stateful computations
16 Working with asynchronous computations
17 Traversable and stacked monads
18 Data streams and the Reactive Extensions
19 An introduction to message-passing concurrency


πŸ“œ SIMILAR VOLUMES


Functional Programming in Java, Second E
✍ Venkat Subramaniam πŸ“‚ Library πŸ“… 2023 πŸ› The Pragmatic Bookshelf, LLC 🌐 English

Imagine writing Java code that reads like the problem statement, code that's highly expressive, concise, easy to read and modify, and has reduced complexity. With the functional programming capabilities in Java, that's not a fantasy. This book will guide you from the familiar imperative style throug

Functional Programming in Scala, Second
✍ Michael Pilquist, Paul Chiusano, RΓΊnar Bjarnasson πŸ“‚ Library πŸ› Manning 🌐 English

<span>This international bestseller has been revised with new exercises, annotations, and full coverage of Scala 3.</span><span><br><br>In </span><span>Functional Programming in Scala, Second Edition</span><span> you will learn how to:<br> <br> </span><ul><li><span><span>Recognize and write purely f

Functions in C++: Second Step in C++ Pro
✍ Din Asotic πŸ“‚ Library πŸ“… 2023 πŸ› EUCODING 🌐 English

Dive deep into the world of functions, a powerful tool in any programmer's arsenal, and uncover the true potential of modular and efficient code. In this focused guide, we explore functions from every angle, providing you with a comprehensive understanding of their significance and versatility. You

Functional Programming in C#: Classic Pr
✍ Oliver Sturm πŸ“‚ Library πŸ“… 2011 πŸ› Wiley 🌐 English

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 func

Functional Programming in C#: Classic Pr
✍ Oliver Sturm πŸ“‚ Library πŸ“… 2011 πŸ› Wiley 🌐 English

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 func