~/talk

Checking Your Types: An Overview of Ruby's Type System

Talkat rubyday 2021 · on Wednesday, 2021-04-07· [ruby]
slides:none on file

Covers concrete Ruby 3 tooling: RBS type files, the experimental typeprof (including its web demo), and type checkers like Steep and Sorbet. Shows a paid‑method example where adding an installments option breaks code until union types and Steep checks catch the missing branch, and an addressable gem example where RBS reveals a possible nil hash that would raise NoMethodError. Demonstrates RBI→RBS translation, running steep check, and when gradual typing reduces runtime errors.

AI-written summary · about

  1. 0:00Introduction
  2. 2:34Type systems
  3. 7:58Ruby's type system
  4. 10:04Adding types to Ruby
  5. 11:06Ruby 3 static types
  6. 13:11RBS files
  7. 14:35Ruby type checkers
  8. 15:44Preventing method errors
  9. 19:59Reducing gem errors
  10. 23:10Type checking benefits
  11. 24:57Q&A
~/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.