~/talk

Type Your Business

Talkat ScalaIO 2018 · 2018-10-29..10-31· [developer-experience, typescript]
slides:none on file

Claim: shift validation from runtime exceptions and noisy tests into the compiler. Concrete tools: refined types for ports and ipv4, tagging and newtype / opaque types for zero‑cost IDs, macros that return Either for runtime inputs, path‑dependent types to tie a wagging tail to its specific dog, and sealed‑abstract constructors to control ID creation. Result: fewer repetitive tests, clearer repository types (Entity with ID), faster failures at compile time, and practical build rules like -Xfatal-warnings and linters.

AI-written summary · about

  1. 0:00Intro
  2. 0:49EVERYTHING IS TERRIBLE
  3. 1:53UNIT TESTING IS AWESOME
  4. 2:22UNIT TESTING IS... LESS AWESOME
  5. 3:30DIVERGENT BEHAVIOR
  6. 5:25FIRST STEP
  7. 5:52THIS IS A GOOD THING
  8. 9:12CONSTRAIN THE DOMAIN?
  9. 9:23REFINED TYPES
  10. 11:55WHAT HAVE WE ACHIEVED
  11. 13:35PATH-DEPENDENT TYPES
  12. 15:50TESTS NEVER GOING AWAY
  13. 17:04TESTS!
  14. 17:16ID TYPES
  15. 18:40ACCIDENTAL CREATION
  16. 20:48TAGGING
  17. 22:20@NEWTYPE
  18. 24:41PERSISTENCE
  19. 25:24SEPARATION OF CONCERNS
  20. 27:49RECAP
  21. 28:28THERE'S A LOT TO LEARN
  22. 29:58SUMMARY
~/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.