~/talk

Quickly and Safely Refactoring Legacy Code

Talkat SolidusConf 2019 · 2019-10-21..10-24· [developer-experience, testing]
slides:none on file

Argues refactoring succeeds by three concrete practices: one-line commits and running the automated test suite before each commit, deploying tiny deltas several times a day, and using feature flags/dark launching to separate deploy from release. Shows test techniques like characterization testing and sprout class/method plus a simulate‑TDD workflow of uncommenting lines to build tests. Reports committing every five minutes, splitting a long rename into staged DB then code changes, and recovering from small inevitable mistakes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50What is bad code
  3. 3:47The catch22
  4. 4:21The question
  5. 4:38My 3 answers
  6. 6:01Work in tiny steps
  7. 7:53Multiple feedback levels
  8. 13:26Feature flags
  9. 15:53Working in tiny steps
  10. 16:26Staying on the trail
  11. 23:43Add Tasks
  12. 24:07Add Tests
  13. 26:46First Tests
  14. 28:36Adding Tests
  15. 34:23Recap
  16. 34:54Outro
~/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.