Pipeline-oriented programming
summary
Compares C# LINQ and F# pipelines and shows concrete code: implements a generic pipe extension helper with overloads for 1–n parameters, three demos (Roman numerals via repeated replace, composable FizzBuzz using map-reduce parallelization of handlers, and a full Giraffe web app on .NET). Demonstrates adding logging and a new “7” handler without touching existing code, runs the web API (returns 200/401, JSON, DB lookups) and claims F# on .NET matches C# performance while improving composability, testability and open/closed extensibility.
AI-written summary · about
chapters (13)
- 0:00Pipeline oriented programming
- 1:09What is pipeline oriented programming
- 3:14Pipelines vs OOP benefits
- 8:10Pipeline design principles
- 10:38Pipeline code examples C# F#
- 14:31Immutability in pipelines
- 17:22Extension methods vs piping
- 25:23Demo: Roman numerals pipeline
- 30:09Demo: FizzBuzz pipeline
- 38:19Demo: Web API pipeline
- 50:06Testing architecture pipelines
- 55:02Why learn pipelines
- 56:23Q&A
related talks
01h 01mThe Power of Composition
42mC#'s functional journey
01h 06mFunctional Design Patterns
01h 05mPipeline architectures in C++
01h 01mPipes: How Plumbing Can Make Your C++ Code More Expressive
55mF# and Fable: re-think web development
01h 03mFunctional Programming Patterns for Mere Mortals
01h 00mReinventing MVC pattern for web programming with F#
