~/talk

Breaking nil to fix bugs: experimental approach

Talkat RubyConf 2024 · 2024-11-13..11-15· [ruby]
links:none on file
slides:none on file

Implements an experimental Ruby prototype that extends NilClass to turn silent nil usage into loud failures, adds method_missing hooks to record call sites and stack traces, and uses dynamic method generation to simulate expected objects and reveal hidden assumptions. The prototype runs against a real codebase and surfaces multiple previously unnoticed NoMethodError sources and incorrect nil-handling patterns; it works well as a debugging tool in development but intentionally breaks behavior and is unsafe for production.

AI-written summary · about

  1. 0:00Introduction to the talk
  2. 4:50Understanding nil in programming
  3. 11:00Experimental approach to fix bugs
  4. 17:32Practical demonstrations
  5. 23:57Q&A and conclusion
~/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.