~/talk

The Art of Ruby

Talkat RubyFuza 2014 · 2014-02-06..02-08· [ruby, software-architecture]
slides:none on file

Argues that beauty in Ruby comes from concrete constraints and refactors: uses a guessing‑game example to show extract method then extract class pattern, endorses rules like five-line methods and 100‑line classes, and measures improvement with Code Climate and Pull Review. Digs into a real bug in the Alchemist gem where Time.parse slows from ~3.7s to ~43s because method_missing builds a giant regex per call, removes method_missing, lazy‑loads modules, and restores performance to baseline.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:01Defining art and programming
  3. 2:07Writing beautiful Ruby code
  4. 3:55Balancing complexity in methods
  5. 5:01Constraints and artistic freedom
  6. 6:29Breaking Ruby rules creatively
  7. 7:56Extracting classes for clarity
  8. 9:18Performance vs artistic code
  9. 13:47Refactoring for performance
  10. 15:50When Ruby isn't fast enough
  11. 16:11Building your coding toolbox
  12. 17:13Measuring and improving code
  13. 18:40Knowing when to break rules
  14. 19:43Summary and resources
~/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.