~/talk

Better Ruby through Functional Programming

Talkat RubyConf 2008 · 2008-11-06..11-08· [functional-programming, ruby]
slides:none on file

Argues that immutability and side‑effect‑free functions make Ruby code easier to reason about and scale to many cores, demonstrates an immutable Person via attr_reader and freeze the array, shows the Fibonacci as recursive example and warns about stack overflow despite Ruby 1.9.2 tailcall workarounds, and implements actor concurrency using the omnibus gem with message types RequestGreeting/Greeting (spawn loop, pattern match, reply with <<). Notes costs: extra object allocation and harder debugging for recursion.

AI-written summary · about

  1. 0:00Start
  2. 8:47First-Class Functions in R
  3. 24:14side-effect function
  4. 27:16Threads: Jim Weiri Dramatis: Steven
~/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.