~/talk

Domain Modeling Made Functional

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [functional-programming]
slides:none on file

Shows concrete rewrites of a messy contact model into F# types that enforce rules at compile time: uses Option<T> instead of null, wraps strings as single-case unions (EmailAddress, String50) to embed validation, and replaces a boolean email flag with an Email | VerifiedEmail choice so only a verification service can create verified values. Demonstrates pattern matching, algebraic (sum/product) types, and how making illegal states unrepresentable removes many runtime checks and unit tests.

AI-written summary · about

  1. 0:00Start
  2. 7:36Polymorphism
  3. 9:40Rapid development cycle
  4. 10:50F# for Domain Driven Design
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.