~/talk

"Escape Your Framework"

Talkat RubyConf Au 2020 · 2020-02-20..02-21· [ruby-on-rails, developer-experience]
slides:none on file

A small Rails site that imports movie credits becomes a worked example: code evolves from a controller full of side effects into a credits importer that uses the Values gem for immutable result objects, method-to-proc and currying for composition, pattern matching and an explicit list-of-actions DSL. The core returns a program of read/write actions and a simple shell interpreter runs them, which proves more testable, composable and practical than the original messy approach.

AI-written summary · about

  1. 0:00Intro
  2. 2:15The brief
  3. 3:18Credits
  4. 4:46Extract From Controller
  5. 7:21Handle errors
  6. 11:54And then...
  7. 17:18Imperative Shell/Functional Core
  8. 26:34Extract ALL the Side Effects
  9. 27:18Extract Side Effects
  10. 27:57Return write side effect values
  11. 31:25Return read side effect values too
  12. 38:09Nicer API
  13. 39:21Version 1: Quick And Dirty
~/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.