<p><span>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.</span></p><p><span>The book is divided into two parts. Part I starts with an overview of functional programming (FP). I
Introducing Functional Programming Using C# : Leveraging a New Perspective for OOP Developers
โ Scribed by Vaskaran Sarcar
- Publisher
- Apress
- Year
- 2023
- Tongue
- English
- Leaves
- 314
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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.
C# is a powerful programming language, is well accepted in the programming world, and helps you make a wide range of applications. These are the primary reasons it is continuously growing in popularity and is always in high demand. So, it is not a surprise that existing and upcoming developers (for example, college students and programming lovers) are curious to learn C# and want to create their applications using it. Many developers try to learn it in the shortest possible time frame and then claim they know C# well. In fact, many resources claim you can unlock the real power of C# in a day, a week, or a month. But is this true? I think not. Remember, Iโm 14 years in and Iโm still learning.
What Will You Learn:
Understand 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 predictive
Know how advanced features (such as delegates, lambdas, generics) can be used differently
Understand how to efficiently use features such as lambda expressions and type inference as C# includes explicit language extensions to support functional programming
Who This Book Is For:
C# developers familiar with object-oriented programming (OOP) who want to harness the power of functional programming (FP)
โฆ Table of Contents
Cover
Front Matter
Part I. Getting Familiar with Functional Programming
1. Functional Programming Overview
2. Understanding Functions
3. Understanding Immutability
Part II. Harnessing the Power of Functional Programming
4. Composing Functions Using Pipelining
5. Composing Functions Using Currying
6. Handling Temporal Coupling
7. Functional Patterns
8. Exception Handling
9. Miscellaneous Topics
Back Matter
๐ SIMILAR VOLUMES
Software development today is embracing functional programming (FP), whether it's for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object-or
<br>Software development today is embracing functional programming (FP), whether its for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object
<p>Software development today is embracing functional programming (FP), whether it’s to write concurrent programs or to manage Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object