Dysfunctional programming with F#
summary
F# is not Haskell and attempts to emulate missing type-system features produce unwieldy code: example form handling becomes a five-parameter generic type, a real production module grows to 70 generic type parameters and IDE/compiler help disappears, and an HTTP send routine turns into five minutes of decoding. Recommendation is pragmatic: use Result for validations and API contracts and exceptions for infra errors and stack traces. Prefer .NET reflection and existing C# libraries, adopt F# incrementally, and avoid reimplementing Haskell in production.
AI-written summary · about
chapters (13)
- 0:00Introduction to F#
- 0:46F# vs Haskell differences
- 1:48Flaws in pure functional pursuit
- 4:17Document form example
- 7:53Merging documents struggle
- 8:37HTTP request implementation
- 9:44Exceptions in F#
- 11:34Balancing paradigms in F#
- 12:58Type safety trade-offs
- 15:07Platform limitations
- 16:51Why use F# at all
- 19:06F# for production projects
- 20:11Summary and Q&A
