~/talk

Design for errors - An introduction to Domain Modeling with a bit of Arrow

links:none on file
slides:none on file

Walks from a fragile JSON DTO to a domain model in Kotlin using Arrow, replacing nullable Strings with smart constructors, wrapping presence with Option/Either/Try/NonEmptyList and modeling contact methods as a sealed list of choices. Demonstrates a verifiable workflow where an UnverifiedEmail must pass a verification service to become a VerifiedEmail, shows how IO and Try capture network/timeouts, and argues these types prevent bugs (and costly failures) by encoding rules in signatures.

AI-written summary · about

  1. 0:00Start
  2. 5:46Null check all the things!
  3. 9:10What do you mean "Nothing"?!
  4. 9:42With multiple Option values
  5. 30:20It's a non empty list
~/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.