~/talk

Don't Settle for Poor Names (or for Poor Design)

Talkat RailsConf 2018 · 2018-04-17..04-19· [ruby-on-rails]
slides:none on file

Claims that naming drives design and shows it on a real Rails app (QCloud) with a 500,000‑line codebase and ~300 models, using Ruby on Rails and Postgres. Replaces four repeated DB columns with a value object named attribution event, implemented with Rails’ composed_of and a custom Concern, adds a factory-style build and a capture method, prevents subtle bugs, makes adding a new discarded event trivial, and demonstrates the small refactor steps that actually work.

AI-written summary · about

  1. 0:00Start
  2. 4:43Designing
  3. 11:45An attribution event identifies a user anda has a timestamp
  4. 19:13How do we {log, capture, assign, save, or record} an attribution event?
  5. 21:37Example from QCloud
  6. 25:21Simple a Design
  7. 30:02Don't Settle for Poor Names
~/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.