~/talk

Types Are Not Safe

Talkat LambdaConf 2024 · 2024-05-04..05-10· [typescript]
links:none on file
slides:none on file

Claims that types are not safe and that types only prevent a small class of bugs backed by an empirical <5% of defects figure from GitHub. Concrete failures include void/uninhabited types and Haskell examples where impossible constraints compile, type-class induction (servant-style) that builds a printer and an evaluator but yields inscrutable errors reported far from the source, and an endpoint that compiles yet sends empty non-JSON. Proposed alternatives are validators, linters, unit tests, CI performance checks and AI for UI, not deeper type gymnastics.

AI-written summary · about

  1. 0:00Type safety misconceptions
  2. 1:08Types as abstract sets
  3. 3:14Types prevent errors
  4. 5:23Types limit error prevention
  5. 8:11Correctness beyond specs
  6. 10:39Type level programming pitfalls
  7. 11:23Uninhabited types dangers
  8. 14:29Impossible Haskell constraints
  9. 17:42Type class error reporting
  10. 20:12Servant API construction
  11. 22:47Vinyl constraint incoherence
  12. 24:14Type class selection issues
  13. 24:58Types and cardinality
  14. 26:03Servant JSON flaw
  15. 26:45Types fail for CSS/UI
  16. 27:48Alternatives to types
  17. 29:15Beyond type obsession
  18. 30:37Types never sufficient
  19. 31:26Type system effectiveness
  20. 32:31When type level justified
  21. 33:13Q&A on dependent types
~/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.