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
-
asgs112788y// add two integers and return the sum.
public int sum(int a, int b) { return a + b;}
// Review comment - Asshole, what about Over and underflows?! What is the behavior you intend to convey? -
kunashe19688y@jeeper - fucking foreal.
Its a bloody waste of space to explain in sentences what a block of code does. Fair enough, if its a largish library and you need to specify parameters.
But sometimes I read code & I think the author is just stroking their ego by commenting verbosely.
Related Rants
This is how most comments in code are. Why are you telling me it's a coffee cup, I can fucking see it's a coffee cup, who owns it and why is it right here? Are you putting coffee in it or something else?
undefined
comments
bullshit
obvious