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
-
Cyanite85578yYeah.. It's not uncommon for me to comment out lines/blocks and forget to remove them.
That was what you meant, right? -
iRobot13678y@yzhea omg ! How can you 😲 (apart from the part you need them, in that case you can do purpose comment ).Some of my teammates do that , whenever I take latest changes I find out such commented block and do cleanup and commit back 😉
-
yzhea21908y@Vikram now i fell bad :(
i'll do my best to clean up before committing, but uhmm no promises :P -
nicholai8938yIf I get a PR from a dev of mine that has code commented out I will point out for the nth time that git has a history and they should remove it. It never gets old.
-
nicholai8938y@yzhea to be fair it is my most trusted dev, but they also do things like functions with two users (as objects/variables) named user and theuser
Related Rants
Not cleaning before committing.
You'll probably see lots of /*unused codes*/ in my projects.
undefined
commentbutneverdelete
wk47