~/talk

Harry Potter and the Legacy Codebase

Talkat Big Ruby 2014 · 2014-02-20..02-21· [ruby-on-rails]
links:none on file
slides:none on file

Claim: legacy code stores domain knowledge and yields to methodical archaeology rather than rewriting. Concrete tools and practices: use turbulence gem to chart churn vs complexity, run New Relic and benchmarks, wire tests into CI, generate maps with rails-erd and railroading. Concrete change shown: replace remove_poison with a clearer harvest_poison and extract container logic, leave deprecation warnings so tests reveal remaining callers. Outcome: small, honest refactors plus documentation and maps reduce hot spots without a full rewrite.

AI-written summary · about

  1. 0:00Start
  2. 0:21and The Legacy Codebase
  3. 3:34LEGACY CODE ISN'T EVIL, IT'S JUST MISUNDERSTOOD
  4. 7:50CODE ARCHEOLOGY 101
  5. 11:54TAKE INVENTORY
  6. 13:05FLAG MYTHS
~/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.