News for hackers. Stuff that matters.
Re:Ask HN: Is Code Deletion Helpful? by john_the_writer on Friday September 30, 2022 @03:35AM (#33032061)
It's 100% a good thing..

Most places I've worked (> 20 years) regularly delete dead code. Not all the time, but often enough that it's not a problem.

Tech docs on the other hand seem to still kick around. Mostly I read the Tests these days. This tells me the why, and how better than any doc I've ever seen. And they're up to date.

Re:Ask HN: Is Code Deletion Helpful? by john_the_writer on Friday September 30, 2022 @03:37AM (#33032072)
I should add, it's not typically done (from my exp) as a bespoke task. Sometimes "delete this endpoint" but often it's just a matter of refactoring.
Re:Ask HN: Is Code Deletion Helpful? by vedant_ag on Friday September 30, 2022 @04:52AM (#33032554)
So teams pick up some refactoring tasks in the sprint (from time to time), and it usually includes code deletion?

This makes sense.