~/talk

On-the-fly Suggestions of Rewriting Method Deprecations

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, developer-experience]
links:none on file
slides:none on file

A Ruby gem implements on-the-fly rewriting of deprecated method calls by intercepting calls, parsing the caller source with Prism, matching and transforming AST nodes via Symbat, and emitting either a log, a diff patch, or rewriting files directly. It targets local/test runs (not production), generates apply-able patches, handles simple renames and argument-to-keyword changes, and currently struggles with DSLs, performance on repeated calls, and non‑pure‑Ruby parsers.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:18Deprecation problem overview
  3. 6:51Deprecation in other languages
  4. 11:20Designing DeprecWriteRuby
  5. 13:40Defining conversion rules
  6. 16:20Runtime code transformation
  7. 20:02Safety of runtime rewriting
  8. 23:22Usage modes and workflow
  9. 25:22Future prospects and challenges
  10. 27:42Conclusion and Q&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.