Dead Code Shouldn’t Exist: How We Removed 28k Lines of Code, One Knip at a Time
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/dead-code-shouldnt-exist-how-we-removed-28k-lines-of-code-one-knip-at-a-timesummary
Describes using Knip to detect and remove unused frontend files, exports, and dependencies in Sentry’s codebase, resulting in about 28k lines removed. Covers how Knip was integrated into workflows, the practical steps taken to safely delete dead code, and the edge cases encountered and lessons learned.
AI-written summary · about
related talks
30mDead Code Shouldn't Exist
38mDeleting Code Is Hard And You Should Do It
45mRemoving Dead Code from a Project: A Practical Guide
27mThe art of deleting code
20mDeadcode – a Tool to Find and Fix Unused (Dead) Python Code
35mKill your Dead Code with Fire!
01h 22mHow to Delete Code
01h 00mFrontend: Graphs. Build. Dead Code