Kovid Rathee
Feb 16, 2024

Deleting code is the hardest. You need to have very high confidence in the quality and architecture of your application. It's definitely a super hard decision to make, and it comes with another conundrum.

If you don't remove code, there might be unintended consequences because of the additional lines of code that you are keeping and maintaining. If you decided to remove the code, unintended consequences can still ruin your day.

The confidence to delete lines of code, I think, comes from great documentation, through PR reviews and discussions, and trust in the team to do the right thing. Rare to see, but can happen! :)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Kovid Rathee
Kovid Rathee

Written by Kovid Rathee

I write about tech, Indian classical music, literature, and the workplace among other things. 1x engineer on weekdays.

No responses yet

Write a response