Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Hopefully you deleted the old comments and replaced them with simpler, now effective comments. Comments matter.
-
@doyouknowty It was some boilerplate that was commented as a temporary reason of "I might need this later." I didn't, actually.
-
mksana2485yI assume it was your own code, then it's ok. 8)
In one project I worked on I witnessed that commented code was removed en masse because the lead dev was obsesses with this - the code is in git, no need to keep it in the files, right?
A newly hired dev got handed the part of the application, and after a while he refactored that part of code using some more modern approach (I forgot what it was exactly) ... but then the code no longer worked, but only in SOME circumstances.
After quite some time trying to figuring that out, investigating the file history revealed: that same approach was used in the commented block which got removed, along with some remarks on why this didn't work in this specific case.
I guess at least those should've been left in. :D
Related Rants
A most cathartic feeling: when I get to remove a huge block of commented code that isn't necessary. 😌
rant
delete
catharsis
comments
happy day