1546
you are viewing a single comment's thread
view the rest of the comments
[-] yetAnotherUser@discuss.tchncs.de 114 points 2 months ago
/*
 * Gets stupidFuckingInteger
 *
 * @returns stupidFuckingInteger
*/
public double getStupidFuckingInteger() {
    return stupidFuckingInteger;
}

[-] mrpants@midwest.social 38 points 2 months ago* (last edited 2 months ago)

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

[-] expr@programming.dev 32 points 2 months ago* (last edited 2 months ago)

It has the return type declared to be double.

[-] mrpants@midwest.social 18 points 2 months ago

I cannot read. Even better.

[-] Amir@lemmy.ml 19 points 2 months ago

This being a double physically hurts

[-] ILikeBoobies@lemmy.ca 16 points 2 months ago

Makes sense, people looking for int would find a double

Happy cake day!

[-] AdNecrias@lemmy.pt 4 points 2 months ago

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

[-] schnurrito@discuss.tchncs.de 3 points 2 months ago

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

this post was submitted on 06 Jul 2024
1546 points (99.4% liked)

Programmer Humor

19207 readers
1480 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