~/talk

Communicating in Types

Talkat Code Remix Summit 2025 · 2025-05-12..05-14· [typescript]
slides:none on file

Argues that algebraic types let code communicate real design: shows an OrderResponse ADT with three concrete cases (success, payment-failed, network-error with HTTP status), a real events type encoding heatmap + Stripe workflow, and a refactor turning a vague string->string icon helper into an Icon->Html API in Elm. Demonstrates compiler-inferred types catching a missing NotFound case, splitting createInvoice into fetch (DB read) + render (pure) to make testing easier, and points to Idris for dependent types/state machines.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:04Why types communicate better
  3. 7:50Algebraic data types explained
  4. 14:10Describing relationships with functions
  5. 28:33Describing execution context
  6. 37:40Decoupling domains with types
  7. 39:51Languages to explore next
  8. 41:57Q&A and closing thoughts
~/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.