~/talk

An Optimistic Proposal for Making Horrible Code... Bearable

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, developer-experience]
slides:none on file

An attempted rewrite moves only about 10% of revenue after eighteen months while the old monolith still pays; tests once take four days on a laptop (reduced to 4–5 hours on many machines) with ~10% flapping, a million lines of Ruby and a 6,000‑line user model. Practical fixes: measure with rake stats and a custom spec formatter, enforce RuboCop ratcheting thresholds, delete useless flaky tests, extract service objects and split high‑churn files until things are steadily less terrifying.

AI-written summary · about

  1. 0:00Start
  2. 5:43changing code breaks completely unrelated tests
  3. 5:59good luck merging your code style PRS
  4. 6:29we can't trust the test suite
  5. 7:04run like hell
  6. 7:31learned helplessness
  7. 9:18badness is unevenly distributed
  8. 11:11bundle exec rake stats
  9. 14:21fixing the code
  10. 17:47act
  11. 18:58breakage is going to happen
  12. 20:00foolproof test fix
  13. 20:28delete them
  14. 21:18make writing new tests fast
  15. 22:05eliminate dynamic code
  16. 24:14behead the dragon
  17. 27:15churn
  18. 28:291. name the evil 2. stop the bleeding 3. strategically improve
  19. 28:454. focus on the process
~/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.