(Ebook) Functional Programming in C#, Second Edition by Enrico Buonanno ISBN 9781617299827, 1617299820
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 containerFunctional 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 technologyTurbocharge 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 bookFunctional 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 LINQAbout the readerFor intermediate C# programmers.About the authorEnrico Buonanno studied Computer Science at Columbia University and has over 15 years of experience as a developer, architect, and trainer.Table of ContentsPART 1 GETTING STARTED1 Introducing functional programming2 Thinking in functions3 Why function purity mattersPART 2 CORE TECHNIQUES4 Designing function signatures and types5 Modeling the possible absence of data6 Patterns in functional programming7 Designing programs with function compositionPART 3 FUNCTIONAL DESIGNS8 Functional error handling9 Structuring an application with functions10 Working effectively with multi-argument functions11 Representing state and change12 A short introduction to functional data structures13 Event sourcing: A functional approach to persistencePART 4 ADVANCED TECHNIQUES14 Lazy computations, continuations, and the beauty of monadic composition15 Stateful programs and stateful computations16 Working with asynchronous computations17 Traversable and stacked monads18 Data streams and the Reactive Extensions19 An introduction to message-passing concurrency
*Free conversion of into popular formats such as PDF, DOCX, DOC, AZW, EPUB, and MOBI after payment.