~/talk

TypeCheck Effortless Runtime Type Checking

Talkat ElixirConf EU 2022 · 2022-06-09..06-10· [testing, developer-experience]
slides:none on file

TypeCheck is an Elixir library that compiles existing @specs into runtime wrappers that validate inputs and outputs, emit readable nested error traces, and still keep original specs for Dialyzer. It also auto-generates spec tests as property-based tests (uses StreamData) to expose edge cases like divide-by-zero. Metaprogramming inlines checks for performance (test suite sees ~30% speedup on OTP 25), checks scale with input size, and can be toggled per app/module/env.

AI-written summary · about

  1. 0:0002:31 - Intro
  2. 2:3213:10 - What is Typechecking and What is a Type?
  3. 13:1121:23 - The Contract of a Function
  4. 21:2424:36 - How Readable are the Error Messages?
  5. 24:3731:54 - Advanced Features
  6. 31:5536:13 - Conclusion & QnA
~/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.