DEV Community

Discussion on: How to Delete Dead Code in TypeScript Projects

Collapse
 
captainyossarian profile image
yossarian

Last time when I have removed a feature with some dead code I have provided two bugs 😂

Collapse
 
camchenry profile image
Cameron McHenry

It's happened to me too 😅 I'm often too eager to delete lots of code right away. I find it's helpful to start small and think carefully about each change.

Maybe we should call "dead code" that's not quite dead yet: "zombie code" ðŸŠĶ?