~/talk

Boring Ruby Code

Talkat Southeast Ruby 2017 · 2017-10-05..10-06· [ruby]
links:none on file
slides:none on file

Shows concrete GitLab code where metaprogramming like define_method, method_missing, const_get and a redefined [] operator hides where behavior lives, wastes about 30 minutes chasing alpha_rise_download_code via grep, and leaves dead or untested hooks that rarely get removed. Demonstrates replacing hidden dynamic dispatch with simple extracted methods, shows respond_to checks spreading conditionals across call sites, and argues that simple, repetitive, boring code is easier to read, delete, and maintain than clever abstractions.

AI-written summary · about

  1. 0:00Introduction to boring code
  2. 6:56Smart code examples
  3. 11:57Metaprogramming pitfalls
  4. 15:55Method missing misuse
  5. 19:18Redefining operators
  6. 20:53Overly complex methods
  7. 25:32Existential type checks
  8. 26:37Why boring code matters
~/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.