~/talk

Deep Ruby

Talkat MountainWest RubyConf 2008 · 2008-03-28..03-29· [ruby]
slides:none on file

Ruby’s object model favors runtime behavior over static types, with open classes, per-object singleton classes and module inclusion used to compose behavior; benchmarks show using a singleton class to add a method is 5–10x faster than heavy instance_eval. A real tool, decub, is built to check documentation coverage by surgically hooking into modules and classes. Advice: prefer define_method/instance_variable_set over eval where possible, inject behavior per object for different web services, and avoid alias_method_chain is Satan style hacks.

AI-written summary · about

  1. 0:00Start
  2. 4:07Basics of Ruby Objects
  3. 8:29Open Classes and Module Composition
  4. 10:45Add Class Methods
~/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.