How programmers comment their code
How programmers comment their code
![](https://programming.dev/pictrs/image/c3b691ae-973d-4f45-96ef-fabe1af506c2.webp?format=webp&thumbnail=128)
![](https://programming.dev/pictrs/image/c3b691ae-973d-4f45-96ef-fabe1af506c2.webp?format=webp)
You're viewing a single thread.
All Comments
147 comments
/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
110 1 ReplyThe lack of a return type declaration makes this sooo good.
38 4 ReplyIt has the return type declared to be
double
.31 0 ReplyI cannot read. Even better.
18 0 Reply
This being a double physically hurts
19 0 ReplyMakes sense, people looking for int would find a double
16 0 ReplyHappy cake day!
1 0 Reply
Reminds me of a job I had where c# summaries were mandatory and people used a documentation generator just like that.
/// Ages the Category. public int AgeCategory (...)
4 0 Replyplenty of APIs in Java have documentation like that and it is worst when I read the documentation in order to find out the definition of the nouns and verbs used there and then it is just like that
3 0 Reply
147 comments
Scroll to top