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
-
/** THIS FUCTION DOES STUFF.
* THIS IS SOME OTHER STUFF.
* @internal @details
* THIS IS WHAT IT REALLY DOES
* @arg a_foo Stuff 1
* @arg a_bar Stuff 2
* @returnd Stuff 3
*/
std::string foobar(std::string a_foo, std::string a_bar) {} -
ng190528597yMy informatics teacher told us that we won't need any comments if our code is written good... Well
... -
@ng1905 Good code almost reads as phrases, but comments can be added where necessary to explain how something fits in the greater whole.
Tested code is more important than commented code in my opinion though.
Related Rants
Today I created my first public repo... I've never commented my code so much.
undefined
repository
code
comments