~/talk

The art of deleting code

Talkat RubyConf 2021 · 2021-11-08..11-10· [developer-experience, devops-and-delivery]
slides:none on file

Describes a repeatable process that actually removed 50,000 lines of Ruby code at work, using concrete tools: git blame, git log --follow, git bisect to find when and why lines stopped being used, plus static analysis and running code coverage in development to spot dead paths. Emphasizes small, focused commits, stash workflow, and commit messages that cite the exact introducing and removing SHAs so reviewers can verify the deletion.

AI-written summary · about

  1. 0:00Start
  2. 8:56Git Show
  3. 9:56Git Log
  4. 11:42Git Commit
  5. 12:00Good Commit Message
  6. 13:31Keep this Commit Small
  7. 14:44Git Stash
  8. 16:59Code Coverage
  9. 20:40Git Bisect
  10. 24:09A Good Commit Message
  11. 25:40Thank the Committee
~/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.