Functional Techniques for C#
summary
Explains how to apply C# functional techniques (C# 3 lambdas and LINQ) to real code: currying for clearer intent, delegate vs Expression trees (compile to delegates or translate to SQL), and when to prefer immutability or avoid tail recursion. Shows the interactive window, an inside-out refactoring that passes lambdas into a generic base EF repository with four generics, and a pattern that returns a Result container (success/value/exception) instead of throwing across layer boundaries.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:36Abstract
- 3:43Functional Ideas
- 5:31Immutability
- 6:50Tailcall Recursion
- 7:52HigherOrder Functions
- 8:24Writing Your Own Approach
- 9:09referential transparency
- 9:57purity
- 16:29no surprises
- 18:20Exceptions
- 19:13Slides
- 19:23Delegates
- 21:55lambda
- 22:10data
- 26:27class tracker
- 37:29insideout refactoring
- 39:33using statement
- 44:23conditional logging
- 51:04Course Repository
- 52:53Nested Classes
- 56:04Conclusion
related talks
01h 01mC#’s Functional Journey
01h 09mFunctional Programming with C#
01h 00mC#'s Functional Journey
01h 08mThinking Functionally with C#
01h 03mFunctional Programming with C#
58mTransforming Your C# Code to Functional Style
58mFunctional Programming with C#
56mFunctional Programming on .NET - The Best of Both Worlds
