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
		- 
				
				 donuts232479ySo do I... IMO, It's better than causing a prod issued because you forgot about one tiny little bit critical detail/quirk... donuts232479ySo do I... IMO, It's better than causing a prod issued because you forgot about one tiny little bit critical detail/quirk...
- 
				
				 iPlexor909yI like comments, but experience has thought me to keep them terse. iPlexor909yI like comments, but experience has thought me to keep them terse.
 
 It's important to favour readable code.
 
 Comments don't refactor!
- 
				
				 donuts232479y@Sneakback I don't know about OP, but here's an example I had to comment: donuts232479y@Sneakback I don't know about OP, but here's an example I had to comment:
 
 //This copies the values in a into b; logic depends on the actual implementation of A used
 a.Copy(b);
 
 Eventually I think I did rename the method to CopyTo but that took awhile... (I wasn't the one who wrote the original method)
- 
				
				 civel1119yYeah, not a fan of most comments. Would prefer to refactor the code to make more sense/be more readable. civel1119yYeah, not a fan of most comments. Would prefer to refactor the code to make more sense/be more readable.
 
 Problem is that sometimes comments lie; code never lies tho.
- 
				
				Well if you just comment what the code does its bullshit cus thats like repeating yourself..😅
Related Rants









 They chose mine! THEY CHOSE MINE!
They chose mine! THEY CHOSE MINE!

I comment my code. Thats considered a bad practice between some coders
undefined
wk47