Introduction to T(ype)DD with F#
summary
An introduction to using F# and Type-Driven Development (TypeDD) to compare functional programming with object-oriented approaches using a familiar kata; the talk shows concrete F# code and contrasts it with existing C# implementations. It walks through F# language features step by step, focusing on algebraic types and the type system to demonstrate designing the solution driven by types rather than by syntax differences.
AI-written summary · about
chapters (14)
- 0:00TypeDD with F#
- 1:05Tennis kata overview
- 2:10Initial C# solutions
- 4:58Why use type systems
- 7:49Algebraic types intro
- 11:18Modeling tennis score
- 15:18Reducing invalid states
- 19:55Type-driven benefits
- 21:06First case implementation
- 27:47Deuce and advantage handling
- 30:52REPL feedback loops
- 32:13Type systems in practice
- 35:04Real-world examples
- 36:51Q&A
