~/talk

Real-World Functional Ruby

Talkat RubyConf MY 2017 · 2017-10-12..10-13· [ruby, functional-programming]
slides:none on file

Demonstrates a practical functional Ruby stack: model behavior as verbs — small functional objects with a call method that are immutable and receive dependencies via constructor injection; model data as immutable value objects typed with dry-types/dry-struct; wrap outcomes in consistent result objects and handle them with dry-monads/dry-matcher; wire hundreds of objects with dry-system and dry-auto_inject; persist via ROM; test by passing doubles into functions. Claims 10+ apps shipped over two years by teams of 2–3, and a workshop builds a blog end-to-end.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 4:43The design stamina hypothesis
  3. 11:03Functional objects in Ruby
  4. 17:55Real-world functional Ruby
  5. 27:49Building apps with dry-rb
  6. 33:05Q&A on functional Ruby
~/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.