THE VIDEO SHELF · type-driven domain modeling
Domain Modeling Made Functional - Scott Wlaschin - KanDDDinsky 2019
Scott Wlaschin shows how statically typed functional languages, using F# examples, can model a business domain so that invalid states cannot be represented. The type system acts almost like an instant unit test at compile time.
Why HN readers recommended it
HN treats it as the canonical, approachable example of domain-driven design with types and 'make invalid states unrepresentable'.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- KanDDDinsky
- Topic
- type-driven domain modeling
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 3
- HN mentions in dataset
- 4
- Recommendation years in dataset
- 2020–2026
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
I wouldn't say its unloved or on a side track, it's baked into .net as a first class citizen and has dedicated engineers at Microsoft working on it. When I started I was pleasantly surprised how easy it was to download .net core on a …
devmunchies on Hacker News · 2020-08
In Draft of OCaml Scientific Computing bookFor anyone looking for a smaller introduction to this book, the author Scott Wlaschin has a talk with the same name: [VIDEO] It doesn't cover a lot of good topics in the book, but it might whet your appetite.
Huggernaut on Hacker News · 2021-02
In Learn Functional Programming VisuallyI can recommend "Domain Modeling Made Functional" by Scott Wlaschin presented at KanDDDinsky 2019, that offers a very appealing example for making making invalid states unrepresentable. The example code is in F# but that is a perfect language to demonstrate the general idea. Best-practice I …
rapnie on Hacker News · 2025-09
In 'Make invalid states unrepresentable' considered harmful
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.