code-quality/design-for-deletion

design for deletion Shipped

What this lens looks for

Treat every line of code as a maintenance liability; build disposable units that can be thrown away without affecting the rest of the system; avoid premature abstraction for reuse; duplicate rather than couple when in doubt

What its verifier checks

No abstractions justified solely by anticipated future reuse; no shared coupling where duplication would be cheaper; modules can be removed without cascading changes