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
-
That’s like doing code footnotes.
public void BuildFoo(int Bar) //1
{
// code here
}
/* 1
*
* Builds the foo object
*/ -
@bkwilliams my next open source project will have code footnotes. Reviews will be fun!
-
@bkwilliams OK I think I won't do it. I just remembered the nightmare of the old jsdoc comments at the end of Javascript files to define types.. That's horrible and I don't want anyone (including me) to suffer that much.
-
-
Well better than having comments that have nothing to do with the block of code following them.
And yes this happened even today.
I have tons of sample for enjoyment if you want :-) -
Just for the record, the devrant tag is literally for devrant related rants! For this you'd use rant/story :)
-
cprn17415y@linuxxx Wait... You serious? Like related to the website/app named "devRant"? I deducted "devrant" is for rants about developing software (or anything) and the "rant/story" tag is default due to some people bringing not-IT-related stories from Facebook because they're special snowflakes.
Related Rants
What kind of psychopath comments code UNDERNEATH??
devrant
comment