DEV Community

Christopher
Christopher

Posted on

I love deleting code

100% of your bugs live within your codebase.

(*Disclaimer- your bugs, not issues caused by downstream systems, infrastructure etc.)

Why give your bugs a place to hide? Take that leap, delete that old class.
Clean up those unused parameters/imports/variables/dependencies.
Convert those TODO's to tickets in your issue management tool.
Clean up those commented out logging lines.

I promise it will all still exist in the history of your source control tool. But right now, YAGNI (Ya ain't gonna need it).

Less LOC - less place for bugs to hide.

Do the right thing. Delete it.

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay