~/talk

How to write pleasant code

Talkat RubyConf 2019 · 2019-11-18..11-20· [ruby]
speakerdeck:rkofman
slides:none on file

Argues for deciding on specific effects not abstract principles and demonstrates them: a single Presenter change can silently create an N plus one query that crashes production, so options are either split into an EmployeeListPresenter or add a guard like without_db that throws on unexpected DB access. Frames choices with human‑centered design — person context action — and shows how adding affordances and feedback prevents bad edits while staying out of the way for safe changes.

AI-written summary · about

  1. 0:00Start
  2. 9:17What Failed
  3. 14:23Human Centered Design
  4. 18:13Context
  5. 20:40Adjusting to Other People's Context
  6. 21:29Social Environment
  7. 28:52Questions
~/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.