~/talk

A Brewer's Guide to Filtering out Complexity and...

Talkat Rocky Mountain Ruby 2024 · 2024-10-07..10-08· [ruby, frontend-architecture]
links:none on file
slides:none on file

Concrete outcome first a toy coffee machine is built then evolved until complexity metrics force a redesign using tests and SimpleCov, flog for ABC scores, and churn analysis to guide work. The repo shows numbers: a single method starts at 5.0, grows past 20 after seven commits and nine conditionals, then drops to 2.2 after splitting into six classes. The fix is explicit: rehydration to reveal abstractions, extract polymorphic Beverage classes, add a factory with a No Object fallback and self registration, and use a churn vs complexity chart to prioritize fixes.

AI-written summary · about

  1. 0:00Filtering complexity in Ruby
  2. 4:37Coffee machine demo
  3. 8:41Recognizing complexity thresholds
  4. 13:16Rehydrating code for abstractions
  5. 17:12Refactoring with polymorphism
  6. 23:35Scaling complexity analysis
  7. 27:11Prioritizing refactoring with churn
  8. 28:14Key takeaways
  9. 30:43Q&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.