~/talk

Ruby Programming with Type Checking

Talkat RubyKaigi 2018 · 2018-05-31..06-02· [ruby, typescript]
slides:none on file

Steep is a gradual Ruby type checker (released 0.2.0 then 0.3.0) that enforces structural subtyping between object types with local type inference for locals and uses separate signature files for APIs. Implementation in Ruby makes it slow but usable; nine months of work adds a scaffold to generate signatures and a Rails-check flow that found many gaps (about 40% of required library types missing) and required only seven dynamic annotations to type a real app’s user model. Testing on a small Rails app surfaces metaprogramming limits and practical workarounds.

AI-written summary · about

  1. 0:00Introduction to Steep
  2. 2:13Steep vs Sorbet
  3. 5:07Basic type checking demo
  4. 19:04Type checking steps
  5. 20:07Type checking Rails app
  6. 33:51Challenges with Rails
  7. 37:32Future of Steep
  8. 38:18Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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.