~/talk

Sticky Ruby

Talkat Rubyfuza 2018 · 2018-02-01..02-03· [ruby]
slides:none on file

Shows concrete Ruby patterns for composing code: a TCP connection object gets behavior via modules (a retry module added to customer breaks semantics), expensive state lives in a singleton connection pool passed in and wrapped by a delegator so method_missing forwards to the pool instead of inheriting state, lambdas enforce arity while procs can return out of the caller, prefer refine over global monkey‑patching, and use pool.open { … } yield/destroy lifecycle to avoid GC leaks.

AI-written summary · about

  1. 0:00Start
  2. 5:49Modules
  3. 9:03Connection Pool
  4. 10:19The Delegator
  5. 12:08Inversion of Control
  6. 13:28Composition
  7. 14:12Crash Course Lambdas
  8. 18:24Closing Thoughts
~/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.