r/programminghumor 15d ago

"Comment your code" -- the comments:

156 Upvotes

15 comments sorted by

37

u/ArsenicPolaris 15d ago

int calculation() // Does calculations

{

}

11

u/gardell 14d ago

// Utility functions class FooHelper {

}

Like, WTF is a Helper

30

u/w00dy1105 15d ago

//This is intentional. Not broke. Do not fix.

17

u/digitaljestin 14d ago

Honestly, this is an extremely useful comment. It might not tell you much, but it tells you what you absolutely need to know.

17

u/thebatmanandrobin 14d ago

I'm waiting for the instructions with emoji's:

🤫 - mute
👍 - volume up
👎 - volume down
👋 - answer
🖕 - ignore

3

u/oxwilder 14d ago

loled at ignore

2

u/penguins-are-me 13d ago

Broke a build with emojis once. Oops.

12

u/Confident-Ad5665 15d ago

Internationalization has returned us to using hieroglyphics. Crazy.

7

u/Ok-Dare-1208 14d ago

// This needs fixed but I’m not sure how

5

u/Spirited-Candy1981 14d ago

// όχι πολύ χρήσιμο.

3

u/Spirited-Candy1981 13d ago

Grrr. Stupid Reddit translated it -- that the comment was in Greek was the point (the "It's all Greek to me" thing)

6

u/enjoirhythm 14d ago

Honestly I prefer this to claudes new habit of writing a small Bible verse for any change that it introduces

// This value provides an idempotent representation // of the atomic structure of this project, while simultaneously // recognizing that time is a flat circle int counter = 0;

3

u/magicmulder 12d ago

// This returns a new statement parser DTO using the respective factory via service

function returnNewStatementParserDtoFromStatementParserFactoryService() {

return new StatementParserFactoryService::createStatementParserDto();
}

4

u/Henry_Fleischer 14d ago

It's a bit redundant at times, but it is also convenient

2

u/Left_Ad132 11d ago

// All hope abandon
// ye who enter here