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
-
I branch on Git to have a version to easily reference, then delete when the issue is settled.
-
not-dan4418yComment it out until I'm coding again and I forget why it was commented out to begin with. Then it's time to delete it.
-
sterex4388yComment until QA release. Remove before staging. You'd better have figured out what to do with the code by then. :-)
-
Early in the process I tend to comment things out. If nothing else it shows what I already tried :) Then I'll clean it up when stuff is working as expected and it's time to send the patch on it's way.
-
nowadays ddd is in fashion. which simply says develop as per need and incremental. try it out
-
johnc456708yDelete, it's way too easy to forget to come back to it later and it's much easier for other people to read without all the comment clutter, if you really need it you've always got version control
-
yvang2878y@erasmuswill I do use git but I'm talking about small tutorials I experiment on not professional level stuff
-
0xcaff3508yComment if the code is not in source control then delete when merging to stable branches. Otherwise delete.
-
Comment until just before shipping, unless it's just a shitty block, then it's buh-bye.
-
Player221318yComment it out, I like to leave my mistakes in the code, to remind myself I'm improving
Related Rants
-
nikolatesla16Person: "I'm using Ubuntu. It's my first time using Linux. It looks pretty nice and it works for me." People: ...
-
Khundzaka16I'm stuck between 2 options: 1) Rant about my problems 2) Share DevRant with colleagues Am I the only one wit...
-
leanrob27I was thinking today about a certain aspect of running a software startup and then it came to me... Hank Scor...
What do you do?
Delete the code or comment it out just in case you need it again?
undefined
opinion
dilemma
debate