this post was submitted on 01 Mar 2024
802 points (98.2% liked)

Programmer Humor

32000 readers
821 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 98 points 6 months ago (2 children)

"Fuck, now I gotta document this without sounding like a crazy person."

[–] [email protected] 72 points 6 months ago* (last edited 6 months ago) (1 children)
/**
 * foobar(a, b)
 * foos up a with b.
 * Note: this should never work. Fooing is impossible, and the fact that this function achieves it serves only to prove God has a wicked sense of humor.
 */
[–] [email protected] 16 points 6 months ago (1 children)

And then some of your noob intern tried to compile it without reading the documentation & it's worked flawlessly
Where's your god now......??

[–] [email protected] 8 points 6 months ago

Laughing, I guess.

[–] [email protected] 19 points 6 months ago (1 children)

That's the final invisible panel. Code that definitely won't compile, does compile, and tests all pass.

[–] [email protected] 23 points 6 months ago (2 children)

WHAT THE F-

Oh! I forgot to hit ctrl-s…

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

Oh I guess I'll just save this then and try ag- SEGFAULT

Thaaaat's more like it.

[–] [email protected] 2 points 6 months ago

I’m in this comment and I don’t like it