~/talk

Code to Joy

Talkat GoGaRuCo 2012 · 2012-09-14..09-15· [ruby, career-development]
slides:none on file

Dives straight into runnable Ruby tricks: showing how aliasing to_ary to to_a lets a Struct both behave as an object and implicitly splat as multiple return values, benchmarking YAML::Store vs PStore for file persistence, turning yielders into iterables with method(:foo).to_enum and Pathname#ascend, using break with a return value to short‑circuit iteration while honoring ensure, and subclassing Module to build on‑the‑fly delegator modules via Module.new with define_method that actually works for multi‑target delegation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Ruby makes programmers happy
  3. 3:20Splats and multiple returns
  4. 6:36YAML Store and P Store
  5. 9:47Methods into enumerators
  6. 13:20Early method exits
  7. 17:59Modules for delegation
  8. 24:08Joyful coding
  9. 25:59Q&A
~/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.