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

Programmer Humor

32483 readers
606 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] 99 points 8 months ago (2 children)

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

[–] [email protected] 74 points 8 months ago* (last edited 8 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] 17 points 8 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] 9 points 8 months ago

Laughing, I guess.

[–] [email protected] 19 points 8 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 8 months ago (2 children)

WHAT THE F-

Oh! I forgot to hit ctrl-s…

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

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

Thaaaat's more like it.

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

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