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
-
But life isn't too short to figure out WHY some piece of code is doing something, or changing it and then finding out something else doesn't work anymore and debugging that stuff, right?
-
@delose Looks like you're high on the "good code doesn't need comments" cool aid. Don't worry, that will wear off once you have to maintain code by devs who drank that cool aid.
-
delose6275y@Fast-Nop code changes that are commented code - it has nothing to do with commit comments. If you are familiar with Sonarqube, these commented codes are flagged as a code smells which prompts developers to rework and delete that code.
-
@delose Aahhhhh you mean OUTcommented code! Now I get it and agree, that's what version control is for in the first place.
-
@Fast-Nop it is like reading clean code and assuming it is the word of god... The worst part of that book is narrow view against comments. I AGREE that code should be as descriptive as possible but well placed comments are life saving.
Note: I fell to same trap, he meant commented out code...
Life is too short to have commented codes; don't want to go back to it once it shows up in the static code analysis scan
rant