~/talk

N design patterns you might actually use

Talkat Cascadia Ruby 2014 · 2014-08-11..08-12· [ruby, developer-experience]
slides:none on file

Clear claim: five concrete Ruby patterns are explained and shown working in real code — n = 5 — with production examples: reports refactored into a template, storage chosen via strategy (local vs S3), hierarchical scoring via composite, runtime buffs via decorator using Ruby's Forwardable, and queued work via Delayed Job. Code samples use ActiveRecord and migrations, show how things simplify (and where they bite: harder tracing, initialization pain) and recommend preferring procs/blocks over heavyweight command classes in Ruby.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Singleton?
  3. 2:57Common Vocabulary
  4. 5:08Extract Transform Load
  5. 5:35Active Record Models
  6. 5:55Reporting
  7. 10:25Polymorphic Algorithm
  8. 10:43Extract Algorithm
  9. 11:30Storage Strategy
  10. 12:04Stock Market
  11. 12:22Sales Tax
  12. 16:56Task Management
  13. 17:57Test Scores
  14. 21:19Wrapper Adding Functionality
  15. 21:41GUI Elements
  16. 22:09Calculating Discounts
  17. 26:31Delayed Job
  18. 26:42Drawing Applications
  19. 26:55Active Record Migrations
  20. 27:51Delegation
  21. 28:38You Are Using Patterns
  22. 28:56Cheat Sheet
~/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.