~/talk

Functional Principles for OO Development

Talkat Ruby Midwest 2013 · 2013-04-05..04-06· [ruby]
slides:none on file

Claims six functional principles apply to OO Ruby and shows them on the Pickaxe CSV total example: replaces a god object with pure data-in data-out functions, implements an Either wrapper for errors instead of nil, uses Ruby 2.0 stabby lambdas and ARGV.lazy streaming pipeline to process files one record at a time, removes mutable state, preserves rejected-row information, and produces a single-pass total and error counts with no global side effects; code is on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 8:51Data in Data Out
  3. 12:30Functional Programming
  4. 17:28nil
  5. 21:20composition
~/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.