Advanced C#: Functional Programming Patterns
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to leverage the functional programming (FP) features in C# to add FP to your code.
Syllabus
Introduction
- Functional programming patterns
- What you should know
- Working with GitHub
- Overview of the functional programming concepts?
- Write pure functions for better code
- Example of an impure function
- Refactor impure function to pure
- Reduce code side effects
- Don't mutate input arguments
- Use an immutable argument
- Principles of immutable types
- Read-only properties
- Instance method in immutable type
- Use helper methods to create new instance
- Use factory method to create instance
- Work with files
- Calculate the total in pure function
- Randomness in functional programming
- Why expressions are better for functional programs
- Rewrite statements as expressions
- Use Func for first-class functions
- Higher order functions
- Composition patterns
- Compose functions
- Pipelining with extension methods
- Pipelining with generic methods
- Pipelining with IEnumerable
- Understand map and other concepts
- Map with LINQ select
- Filter with LINQ where
- Flatten with SelectMany
- Join with SelectMany
- Fold with Sum and Aggregate
- Next steps
Taught by
Walt Ritscher
Related Courses
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera An introduction to Haskell Programming
Chennai Mathematical Institute via Swayam Kotlin Bootcamp for Programmers
Google via Udacity From Media Computation to Data Science
SAP Learning The Modern Python 3 Bootcamp
Udemy