~/talk

How to Code Like a Writer

Talkat Keep Ruby Weird 2014 · on Friday, 2014-10-24· [ruby]

Claim: the Elements of Style rules guide concrete refactors. The process refactors a 427‑line utilities class using tests, small extractions, and vocabulary from Ruby stdlib, replacing inline structs with a ShipmentList value object and simplifying APIs. Metrics move: 427 lines of code shrinks, duplication (flay) drops to zero, flog 180 → 77.2 and build_shipments flog 120.7 → 3. Tests pass throughout and the final code reads in clear, parallel “paragraphs” and actually changes behavior reliably.

AI-written summary · about

  1. 0:00Start
  2. 8:23Strunk and White 2.19 Express coordinate ideas in similar form
  3. 12:41Strunk and White 2.17 Omit Needless Words
  4. 17:37Strunk and White 2.16 Use definite, specific, concrete language
~/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.