~/talk

An introduction to typed Ruby programming

Talkat GrillRB 2019 · 2019-08-31..09-01· [ruby]
slides:none on file

Ruby 3 adds optional static typing via RBS signature files and a spectrum of tools: a level‑1 type profiler that generates signatures and level‑2 checkers that require annotations. The Steep gem implements structural subtyping, uses comment annotations so runtime behavior stays unchanged, and performs flow‑sensitive checks and union/case‑exhaustiveness verification to catch real errors (wrong keyword args, wrong return types, accidental nil/new cases). Steep is usable now, actively migrating to RBS and adding IDE (LSP) support, but it does not perform runtime checks for metaprogrammed code.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:49Type checking plan for Ruby 3
  3. 10:04Ruby type checking foundation
  4. 20:40Type checker options and recommendations
  5. 21:05Introducing Steep type checker
  6. 29:52Benefits of type checking
  7. 45:17Summary and closing remarks
  8. 46:28Q&A session
~/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.