Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
You're so right. Nothing's worse than silly, meaningless comments. You're not the only one who has to fight his way through shit like this :)
@Klanowicz so yes I agree, if you have to comment every line of code then it's ridiculous, but a general summary of what function does is quite nice to have. It just lets you look at the description without having to read and interpret all of the code
@Klanowicz I disagree.
Useful comments make the work easier - especially when working with multiple developers at the same time.
1. Shitty code with worthless comments sucks.
2. Shitty code with meaningful comments sucks less.
3. Good code with shitty comments sucks.
4. Good code with meaningful comments doesn't suck.
Code as if the person who will maintain your code is a violent psychopath who knows where you live