this post was submitted on 25 Feb 2024
360 points (95.9% liked)

Programmer Humor

19572 readers
1807 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
 
all 17 comments
sorted by: hot top controversial new old
[–] xav@programming.dev 31 points 8 months ago (2 children)

Plot twist: 95% of the engineering team was fired once the code was "done". Including the poor schmuck who authored this.

[–] fluxion@lemmy.world 6 points 8 months ago* (last edited 8 months ago)

// TODO: for wild capitalist fantasies only, rework before building entire economic systems around this

if IsCEO() {

openGoldenParachute()

}

[–] spongebue@lemmy.world 3 points 8 months ago

If that's the approach they took, and especially if it made it into a source code repository, I'd probably have fired them a long time ago!

[–] Toes@ani.social 30 points 8 months ago (1 children)

But because everyone is working off a 6TB Nas shared over the LAN at the office. No one really knows who changed the code. So we decided to fire 51% of the team figuring we got em.

[–] tsonfeir@lemm.ee 5 points 8 months ago

Glad I’m not the only one working on the server

[–] treechicken@lemmy.world 16 points 8 months ago* (last edited 8 months ago)

Obviously if team was doing agile with CI/CD to promote frequent deployments and testing they would've never encountered this mess /s

[–] ICastFist@programming.dev 14 points 8 months ago

At least our programmer had the decency to comment that bit as being disabled for debugging :D

"eh we'll fix it in post"

post:

[–] mox@lemmy.sdf.org 6 points 8 months ago (1 children)
[–] treechicken@lemmy.world 5 points 8 months ago (1 children)

Guessing Go? (since no parens on the if statement)

[–] Zangoose@lemmy.one 1 points 8 months ago (1 children)

Could also be rust (no parens on ifs there either), kind of hard to tell with just an if statement and some function calls

[–] paperplane@lemmy.world 1 points 8 months ago* (last edited 8 months ago) (1 children)

or Swift, Rust has semicolons while Swift doesn't

[–] Zangoose@lemmy.one 1 points 8 months ago* (last edited 8 months ago)

Oh true I didn't realize the semicolons were missing (that's what the compiler errors are for)

[–] Psychodelic@lemmy.world 4 points 8 months ago

I'm gonna pretend there was a windows update at that specific time so it makes a bit more sense to me

lol. That was good

[–] van2z@lemmy.world 1 points 8 months ago* (last edited 8 months ago) (1 children)