77
TangChr
5y

Commenting out legacy code, instead of deleting it

Comments
  • 2
    Renaming legacy code to v2 and keeping the original 😉
  • 0
    My employer has no VC, so I'm too familiar with this.
  • 1
    I hate commented code so much, Just delete it! chances are, if you have to comment it out, its probably shitty code to begin with.

    Unless you need to comment it out for testing, or just to get a feature out asap, its doing more damage commented than it would be removed
  • 0
    "Don't worry, we'll refactor it later."
  • 0
    If it's stupid, but it works, it ain't stupid.
  • 0
    Do this all the time because stakeholders love to change their mind or someone higher up did not approve the change. The code is under VC that no one including myself uses.
Add Comment