Functional Programming and Domain Driven Design - a match in Heaven!
summary
Shows how Domain-Driven Design concepts are encoded as pure functions and types, with concrete examples in ReasonML and TypeScript. Implements Hexagonal Architecture, event sourcing and stateless services, models order/order-line invariants and email verification as types that reject invalid states, and wires external effects into pipelines that render pages for an online learning system. Claims reduced debugging and clearer boundaries; demoed code composes, runs, and keeps domain logic pure in practice.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:04Domain Driven Design basics
- 10:18Functional programming benefits
- 16:10Domain modeling in practice
- 20:34Architecture and domain purity
- 27:29Functional domain architecture
- 33:26Pipelines and workflows
- 36:10Programming language trade-offs
- 40:14Modeling business concepts
- 45:01Tactical design examples
- 47:38Q&A
related talks
41mFunctional programming: Give it a chance!
56mFunctional Programming on .NET - The Best of Both Worlds
56mFunctional Programming with JavaScript
45mFunctional Programming — What's the Point?
49mDomain Modeling Made Functional
41mFunctional Programming for Dummies*
34mHow I learned to stop worrying and love Functional Design
49mFunctional programming in practice, with all its consequences
