811
you are viewing a single comment's thread
view the rest of the comments
[-] aeronmelon@lemmy.world 98 points 8 months ago

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

[-] marcos@lemmy.world 73 points 8 months ago* (last edited 8 months ago)
/**
 * 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.
 */
[-] devilish666@lemmy.world 16 points 8 months ago

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

[-] marcos@lemmy.world 8 points 8 months ago

Laughing, I guess.

[-] andrew@lemmy.stuart.fun 18 points 8 months ago

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

[-] s12@sopuli.xyz 23 points 8 months ago

WHAT THE F-

Oh! I forgot to hit ctrl-s…

[-] skulblaka@startrek.website 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.

[-] firelizzard@programming.dev 2 points 8 months ago

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

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

Programmer Humor

32472 readers
599 users here now

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

Rules:

founded 5 years ago
MODERATORS