~/talk

Embedding it into Ruby code

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby]
slides:none on file

An experimental gem embeds RBS type declarations as comments inside Ruby files, extracts them into generated .rbs files, and runs existing Steep/type-check tools so the edit→type-check cycle no longer requires switching files. It supports common constructs (param and return annotations), three inline styles compact, doc and return syntaxes, attribute and constant typing with double-colon attribute syntax, and an escape hatch for full RBS via RBS inline gem; prototype lacks IDE completions and inline error diagnostics.

AI-written summary · about

  1. 0:00Introduction
  2. 3:23About the speaker
  3. 4:07RBS type checking basics
  4. 10:33Reasons for separate RBS files
  5. 13:25Problems with separate files
  6. 14:12Introducing RBS inline
  7. 18:12RBS inline demo
  8. 19:40RBS inline benefits
  9. 20:44Designing RBS inline syntax
  10. 25:58Syntax comparisons
  11. 28:05Future plans and call for feedback
~/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.