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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@tokumei I feel like beginners add too many comments on things that aren't needed then don't comment things they don't understand.
Usually when you see shit like this:
Print("Mass: " & Mass") // Prints mass -
// /* */ # ; REM are all shortcuts that represent one thing:
TODO: Remove this comment by renaming variables and methods.
All comments must die in a fire.
If you have to comment, be decent and comment in your methods and variables. This day and age, intellisense and compiler will handle the length. Make your CODE human readable! -
Hahahaha, fucking comments... All the time my PRs get rejected because "you must add more comments to the new code"... Fuck that
-
I hate the fact that so many devs seem to believe that comments somehow magically make the code better.
Comments should be written only when absolutely neccessary and only to describe why the code is there. Not what it does.
Describe your intent by naming variables and functions properly. Not with comments.
It's that simple. -
@Lensflare I was writing a huge comment asserting yours, and then I remember this... Haha, an image truly speaks more than a thousand words
Who does that anyway...
joke/meme