this post was submitted on 06 Jul 2024
1090 points (99.5% liked)

Programmer Humor

19623 readers
507 users here now

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

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 93 points 4 months ago (3 children)
/*
 * Gets stupidFuckingInteger
 *
 * @returns stupidFuckingInteger
*/
public double getStupidFuckingInteger() {
    return stupidFuckingInteger;
}

[–] [email protected] 32 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] [email protected] 18 points 4 months ago* (last edited 4 months ago) (1 children)

It has the return type declared to be double.

[–] [email protected] 5 points 4 months ago

I cannot read. Even better.

[–] [email protected] 12 points 4 months ago (1 children)

Makes sense, people looking for int would find a double

[–] [email protected] 1 points 3 months ago

Happy cake day!

[–] [email protected] 5 points 4 months ago

This being a double physically hurts