~/talk

I Stopped Throwing Errors and My Code Finally Works

Talkat WhatTheStack 2026 · 2026-09-14..09-19· [typescript, frontend-architecture]
links:none on file
slides:none on file

Effect is a TypeScript library that makes errors part of the type so functions declare exact failure types (e.g., BoardNotFound | DBError | NotifyFailed), uses generators instead of promises, and unlocks retries in 3 lines with an exponential jitter policy. A live migration of an open source app (≈80 files changed) proves it works: tests run instantly because time is a value you can control via a test clock, and the compiler refuses to run code without provided dependencies.

AI-written summary · about

  1. 0:00Introduction and problem
  2. 4:23Kanio project background
  3. 7:34Effect library basics
  4. 10:46Expected vs unexpected errors
  5. 11:51Generators vs promises
  6. 13:14Error handling with Effect
  7. 14:39Retry policies in Effect
  8. 15:42Testing with virtual time
  9. 17:05Dependency injection
  10. 18:53Migration experience
  11. 19:35Conclusion and call to action
  12. 19:56Q&A session
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.