~/talk

ruby best practice patterns

slides:none on file

Argues for concrete, small-scale refactorings: split big routines into composed method calls (example from Capistrano), use block-based execute-around patterns so IO.open always closes and will_paginate or Ruby 1.9’s tap make creation+lifecycle explicit, and convert repeated-argument code into a method-object (used to emit a DOT file) so shared state lives on the object. Recommends comprehensive tests before refactoring, cites Kent Beck/Smalltalk origins, and contrasts helpful patterns with a tongue-in-cheek “unfactor” anti-pattern.

AI-written summary · about

  1. 0:00Start
  2. 0:14Lone Star Ruby Conf 2008
  3. 0:44st Practice
  4. 14:00Capistrano
  5. 16:36Rubinius
  6. 18:31Will Paginate
  7. 20:00Ruby 1.9
  8. 21:45Method Trails
  9. 24:58Context
  10. 27:55Examples
  11. 28:34Try Them
~/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.