Part 1:Foundations of Functional Programming in C#
In this first part, we lay the groundwork for understanding functional programming. We’ll start by introducing the core concepts of functional programming and how they apply to C#. You’ll learn about the crucial distinction between expressions and statements, and how to write more expressive code. We’ll then explore pure functions and how to minimize side effects, which are fundamental to functional programming. Finally, we’ll discuss honest functions and effective ways to handle null values, setting the stage for more robust code design.
This part has the following chapters:
- Chapter 1, Getting Started with Functional Programming
- Chapter 2, Expressions and Statements
- Chapter 3, Pure Functions and Side Effects
- Chapter 4, Honest Functions, Null, and Option