|
|
|
Ask HN: Is Code Deletion Helpful?
|
|
3 points
by vedant_ag
1351 days ago
|
|
There is a lot of online literature about the benefits of deleting stale/unreachable code. But in practice, do teams actually do this regularly? More importantly, does your manager recognise this as "work"? Or does it mean: code deletion is good when other people so that I don't have to but I don't invest my time into it? Like technical documentation. |
|
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.