~/talk

Ruby Techniques by Example

Talkat MountainWest RubyConf 2010 · 2010-03-11..03-12· [ruby, career-development]
slides:none on file

Presents concrete Ruby patterns: after reading 10,000 lines the talk shows an extensible class pattern that defines class and instance methods in modules so extensions can Super through ordered plugins, three concrete ways to handle class‑level data (class vars, delegating lookup, copying on subclassing), the stringy vs blocky evals performance/safety tradeoff and a fallback that handles invalid names, DSL fixes for BasicObject constant lookup, exception wrapping that preserves backtraces, and reentrancy-safe transactions.

AI-written summary · about

  1. 0:00Start
  2. 1:32Creating More Easily Extensible Classes
  3. 1:57Adding Class Instance Methods to a Class
  4. 3:15Ruby's Method Look Up
  5. 5:03Extensible Design
  6. 6:52Class Variable Approach
  7. 7:36Delegating Approach
  8. 8:57Safely Defining Methods View Metaprogramming
  9. 11:48Simple Dsl
  10. 14:54How To Fix Constant Look Up in Basic Object
  11. 16:53Scaffolding Extensions
  12. 18:46Presenting Multiple Backends Using a Unified Interface
  13. 21:12Exception Class Conversion Method
  14. 22:03Strings with Eval
  15. 23:48Reentrant 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.