~/talk

Make Ruby Functional Again!

Talkat RubyDay 2016 · 2016-11-25..11-26· [functional-programming, ruby]
slides:none on file

Argues Ruby must shift toward functional style to use many cores as Moore’s Law stalls (clock speeds plateaued around 2004 and multi‑core has dominated ~12 years). Refactors an NFL API CLI into small method objects that respond_to :call, replaces hidden base-class state with a lambda fetcher, and turns metadata mutators into pure functions that return frozen hashes. Result is easier testing, safer concurrency and composability; the approach reduces mystery‑guest coupling and groups side effects at the application boundary.

AI-written summary · about

  1. 0:00Introduction and humor
  2. 3:24Moore's law and Ruby's problem
  3. 10:27Refactoring the NFL API wrapper
  4. 17:14Method objects and purity
  5. 20:51Pure functions in Ruby
  6. 26:10Key takeaways and future
  7. 31:39Q&A and closing
~/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.