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.
about the technology
Functional programming changes the way you think about code by concentrating your attention on generic, composable behaviors instead of more complex objects. It gives developers the power to get more done with less code, enables super-safe concurrency that’s perfect for multicore processors, and makes your code easy to maintain long-term. C#’s flexibility lets you benefit fully from the application of functional techniques.
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. You’ll explore C#'s functional language features, and how to use them to write code that is concise, elegant, robust, and maintainable. Through a variety of examples inspired by real-world programming tasks, you’ll learn the power of function composition, data flow programming, immutable data structures, and monadic composition with LINQ. Soon, you’ll have completely changed the way you approach writing code and designing architecture.
Enrico Buonanno studied computer science at Columbia University and has over 15 years of experience as a developer, architect, and trainer.
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.
about the technology
Functional programming changes the way you think about code by concentrating your attention on generic, composable behaviors instead of more complex objects. It gives developers the power to get more done with less code, enables super-safe concurrency that’s perfect for multicore processors, and makes your code easy to maintain long-term. C#’s flexibility lets you benefit fully from the application of functional techniques.
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. You’ll explore C#'s functional language features, and how to use them to write code that is concise, elegant, robust, and maintainable. Through a variety of examples inspired by real-world programming tasks, you’ll learn the power of function composition, data flow programming, immutable data structures, and monadic composition with LINQ. Soon, you’ll have completely changed the way you approach writing code and designing architecture.
Enrico Buonanno studied computer science at Columbia University and has over 15 years of experience as a developer, architect, and trainer.
Відгуки про Functional Programming in C#, Second Edition