Introducing Functional Programming Using C# e-bog
436,85 DKK
(inkl. moms 546,06 DKK)
Understand the power of C#, a multi-paradigm language. This book will help you learn, analyze, and harness the functional aspects of C# so you can create a better program.The book is divided into two parts. Part I starts with an overview of functional programming (FP). It covers the building blocks for FP: functions and immutability. You will learn about the built-in supports for FP, firs...
E-bog
436,85 DKK
Forlag
Apress
Udgivet
9 september 2023
Genrer
UMP
Sprog
English
Format
pdf
Beskyttelse
LCP
ISBN
9781484296974
Understand the power of C#, a multi-paradigm language. This book will help you learn, analyze, and harness the functional aspects of C# so you can create a better program.The book is divided into two parts. Part I starts with an overview of functional programming (FP). It covers the building blocks for FP: functions and immutability. You will learn about the built-in supports for FP, first- and higher-order functions (HOF), functional purity and side effects, different forms of immutability, and much more. Part II includes discussions on functional composition using pipelining and currying. It also explains how to handle temporal coupling and discusses partial functions and useful functional patterns (such as Map, Bind, Filter, and Fold). Author Vaskaran Sarcar takes you through functional exception-handling mechanisms and provides additional tips to make your programs more efficient.After reading the book, you will understand and be able to implement key aspects of FP. You will be able to produce better code (and refactor existing code) by combining the best techniques from both FP and object-oriented programming (OOP) paradigms.What Will You LearnUnderstand how the concepts of functional programming (FP) can be implemented using C#Refactor existing code (following the FP paradigm) to make it more readable, maintainable, and predictiveKnow how advanced features (such as delegates, lambdas, generics) can be used differentlyUnderstand how to efficiently use features such as lambda expressions and type inference as C# includes explicit language extensions to support functional programmingWho This Book Is ForC# developers familiar with object-oriented programming (OOP) who want to harness the power of functional programming (FP)