You are viewing a single thread.
View all comments
113 points
/*
 * Gets stupidFuckingInteger
 *
 * @returns stupidFuckingInteger
*/
public double getStupidFuckingInteger() {
    return stupidFuckingInteger;
}

permalink
report
reply
36 points
*

The lack of a return type declaration makes this sooo good.

permalink
report
parent
reply
32 points
*

It has the return type declared to be double.

permalink
report
parent
reply
19 points

I cannot read. Even better.

permalink
report
parent
reply
20 points

This being a double physically hurts

permalink
report
parent
reply
17 points

Makes sense, people looking for int would find a double

permalink
report
parent
reply
1 point

Happy cake day!

permalink
report
parent
reply
5 points

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 (…)

permalink
report
parent
reply
4 points

plenty 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

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 2.5K

    Monthly active users

  • 866

    Posts

  • 14K

    Comments