HackerTubewatch
Surprise me
Frame from Domain Modeling Made Functional - Scott Wlaschin - KanDDDinsky 2019 Plays via YouTube's privacy-enhanced embed

Domain Modeling Made Functional - Scott Wlaschin - KanDDDinsky 2019

KanDDDinsky
Talks
YouTube
3 HN users recommended this talk4 months2020–2026 score 4.5
Years with an HN recommendation, 2007–2026

HN treats it as the canonical, approachable example of domain-driven design with types and 'make invalid states unrepresentable'.

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.

“this talk opened my eyes to the power of f# philosophy and type system” (HN, 2020)

1 strong recommendations · 3 recommendations · Talks · intermediate

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@devmunchies Aug 2020 Strongly recommends
on HN thread Draft of OCaml Scientific Computing book
Read more
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 mac and not do anything else to use F#. Its less popular than C# so its there's not as much documentation from 3rd party sources, youtube videos, etc, but you can use any C# modules in F# so you'll get used to reading C# docs. I would highly recommend this overview of the .Net ecosystem: [link] I really like how it showed a preview of "modern C#" at 12:20 which is being influenced by F#. After that, this talk opened my eyes to the power of f# philosophy and type system: [this video]
Opened commenter's eyes to F# philosophy and type system.
@Huggernaut Feb 2021 Recommends
on HN thread Learn Functional Programming Visually
For anyone looking for a smaller introduction to this book, the author Scott Wlaschin has a talk with the same name: [this video] It doesn't cover a lot of good topics in the book, but it might whet your appetite.
Short introduction to the book of the same name.
@rapnie Sep 2025 Recommends
on HN thread 'Make invalid states unrepresentable' considered harmful
I 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 guess boils down to finding the right balance throughout the application design. [this video]
Appealing example of making invalid states unrepresentable.
@rapnie Feb 2026 Recommends
on HN thread Parse, Don't Validate and Type-Driven Design in Rust
You can also search for "make invalid states impossible/unrepresentable" [0] to find more info on related practices. See "domain modeling made functional" [0] as a nice example [0] [link] [1] [this video]
Nice example of making invalid states unrepresentable.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close