RubyConf 2021 - The art of deleting code by Claudio Baccigalupo

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=nBZn2nE3yDE



Duration: 26:30
59 views
0


As the size of your project grows, some blocks of code become irrelevant. How can you find and delete them? And how can you be sure code is actually dead?

This talk will review a few techniques I learned from removing 50,000 lines of Ruby code at work.

We will see how git can help, with commands like blame, log --follow, and bisect. We will talk about static analysis, and running code coverage in development. We will explain how Ruby meta-programming can conflict with the "Find in Project" approach. We will show how to be nice to reviewers when submitting Pull Requests that delete code.

**Filmed by Colorado Union Videographers




Other Videos By Confreaks


2022-08-09RubyConf 2021 - How to Make a Gem of a Gem by Justin Searls
2022-08-09RubyConf 2021 - The Science and Magic of Debugging by Vaidehi Joshi
2022-08-09RubyConf 2021 - Service Objects With Dry.rb: Monads and Transactions by Paul Sadauskas
2022-08-09RubyConf 2021 - Ruby Archaeology by Nick Schwaderer
2022-08-09RubyConf 2021- Automating Legacy Desktop Applications with JRuby and Sikuli by Chris Cha
2022-08-09RubyConf 2021 - Schrödinger's Error: Living In the grey area of Exceptions by Sweta Sanghavi
2022-08-09ubyConf 2021 - Keeping Developers Happy with a Fast CI by Christian Bruckmayer
2022-08-09RubyConf 2021 - Vertical Assignment in Ruby by Kevin Kuchta
2022-08-09RubyConf 2021 - Do regex dream of Turing Completeness? by Daniel Magliola
2022-08-09RubyConf 2021 - Learning Ractor with Raft by Micah Gates
2022-08-09RubyConf 2021 - The art of deleting code by Claudio Baccigalupo
2022-08-09RubyConf 2021 - Blank Page Panic! Creating Confidence with TDD by Elayne Juten
2022-08-09RubyConf 2021 - To mock, or not to mock? by Emily Giurleo
2022-08-09RubyConf 2021 - The Audacious Array by Ariel Caplan
2022-08-09RubyConf 2021 - I Read It But Don’t Get It, or How to Tackle Technical Texts by Steve Lynch
2022-08-09RubyConf 2021 - Your First Open-Source Contribution by Rachael Wright Munn
2022-08-09RubyConf 2021 - The Mindset of Debugging by Kyle d'Oliveira
2022-08-09RubyConf 2021 - Fake Your Test Away: How To Abuse Your Test Doubles by Jenny Shih
2022-08-09RubyConf 2021 - Keynote: On the Care and Feeding of Feedback Cycles by Elisabeth Hendrickson
2022-08-09RubyConf 2021 - Q&A with Matz by Evan Phoenix & Yukihiro Matsumoto (Matz)
2022-08-09RubyConf 2021 - On Being an Early Career Dev in Your 30s by Ben Greenberg