Explore techniques for identifying and safely removing irrelevant code in growing Ruby projects through this 27-minute conference talk from RubyConf 2021. Learn how to leverage git commands like blame, log --follow, and bisect, as well as static analysis and code coverage in development. Discover the challenges posed by Ruby meta-programming when searching for dead code, and gain insights on submitting reviewer-friendly pull requests for code deletion. Benefit from the speaker's experience in removing 50,000 lines of Ruby code in a professional setting.
Overview
Syllabus
RubyConf 2021 - The art of deleting code by Claudio Baccigalupo
Taught by
Ruby Central