this post was submitted on 10 Jul 2024
1086 points (93.9% liked)

Programmer Humor

28517 readers
1635 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] dactylotheca@suppo.fi 198 points 2 years ago (2 children)

Doctor of Computer Science

stringly-typed "100%"

yeah that tracks.

[–] vala@lemmy.world 127 points 2 years ago (8 children)

Calls a static method on the OldMan class instead of the instance of oldMan that is actually dying.

[–] emuspawn@orbiting.observer 64 points 2 years ago* (last edited 2 years ago) (2 children)

Tonight's story: Every man older than OldMan.getMinimumAge() has been in perfect *unchanging* health for the last few months‽ To find out why, stay tuned! Our experts chime in to help you understand....

[–] OldManBOMBIN@lemmy.world 17 points 2 years ago* (last edited 2 years ago)

If only I'd been born %YEARS% later :'-(

load more comments (1 replies)
load more comments (7 replies)
[–] Emotet@slrpnk.net 27 points 2 years ago (1 children)
[–] dactylotheca@suppo.fi 34 points 2 years ago (1 children)
[–] WanakaTree@lemm.ee 9 points 2 years ago

Haha I'm saving this image

[–] Fades@lemmy.world 188 points 2 years ago* (last edited 2 years ago) (25 children)

WHY IS THE HEALTH INPUT PARAMETER A GODDAMN STRING?????????????

Why are you passing ‘%’ inside said goddamn string?!?! Not to mention the static reference instead of the actual instance.

Shame on you

[–] jdaxe@infosec.pub 70 points 2 years ago

Also putting sudo in front of what looks like Java code not shell.

[–] cupcakezealot@lemmy.blahaj.zone 35 points 2 years ago (1 children)

OldMan.setHealth("Robert'); DROP TABLE Students;--")

load more comments (1 replies)
[–] blind3rdeye@lemm.ee 29 points 2 years ago* (last edited 2 years ago)

I guess its just a reminder that getting a PhD is often more about dedication than it is about practical knowledge.

[–] Buddahriffic@lemmy.world 23 points 2 years ago

Because the meme wasn't made by someone with a doctorate in CS or even a bachelor's.

[–] devfuuu@lemmy.world 19 points 2 years ago* (last edited 2 years ago)

Smells like JavaScript.

[–] FilthyShrooms@lemmy.world 14 points 2 years ago (2 children)

They use a look-up table with every value from 0% to 100%

load more comments (2 replies)
[–] FatTony@lemmy.world 9 points 2 years ago* (last edited 2 years ago)

Honestly, if someone were to try to safe my life. And I find out he uses a string as a parameter to do so. Just let me die right there.

load more comments (17 replies)
[–] Technus@lemmy.zip 101 points 2 years ago (3 children)
sudo rm /heart/arteries/**/clot
[–] AmbiguousProps@lemmy.today 90 points 2 years ago (1 children)

Very important to not hit enter before clot.

[–] Technus@lemmy.zip 38 points 2 years ago (1 children)

That's why you have backups.

load more comments (1 replies)
[–] hperrin@lemmy.world 23 points 2 years ago (1 children)
[–] Technus@lemmy.zip 21 points 2 years ago (1 children)

I feel like if your body follows the Unix filesystem structure, you have a real problem.

[–] BleatingZombie@lemmy.world 19 points 2 years ago (4 children)

Please forgive my ignorance. What does ** do?

[–] gaylord_fartmaster@lemmy.world 23 points 2 years ago (2 children)

Acts as a wildcard for any directories that exist between arteries and clot.

load more comments (2 replies)
load more comments (3 replies)
[–] some_guy@lemmy.sdf.org 81 points 2 years ago (1 children)

You are not in the sudoers file. This incident will be reported.

[–] Mercury@lemmy.world 42 points 2 years ago (2 children)

Goddamn, the joke gets worse the more I inspect each panel.

[–] johannesvanderwhales@lemmy.world 16 points 2 years ago (1 children)
[–] Obi@sopuli.xyz 14 points 2 years ago (1 children)
load more comments (1 replies)
[–] Linkerbaan@lemmy.world 10 points 2 years ago (1 children)

The font changes like 3 times 👌

load more comments (1 replies)
[–] oo1@lemmings.world 39 points 2 years ago (2 children)

Can he also fix alzheimer's by hunting down memory leaks.

load more comments (2 replies)
[–] sundray@lemmus.org 29 points 2 years ago (1 children)

"Wait! We need to get the user story before we start working on a solution!"

load more comments (1 replies)
[–] PieMePlenty@lemmy.world 26 points 2 years ago (3 children)

Did he just give every old man perfect health?!

load more comments (3 replies)
[–] apocalypticat@lemmy.world 20 points 2 years ago (1 children)
[–] Classy@sh.itjust.works 11 points 2 years ago

sudo pacman -S new-heart

[–] Andrzej@lemmy.myserv.one 18 points 2 years ago

Top-tier endangerment bait lmao

[–] hperrin@lemmy.world 15 points 2 years ago
[–] PhlubbaDubba@lemm.ee 14 points 2 years ago (3 children)

See that's the issue, he should have tried stopping the cardiac arrest process instead of just resetting the man to the beginning of it

load more comments (3 replies)
[–] guemax@lemmy.today 12 points 2 years ago

HeLlOoOoO, wHaT nOw? It'S a Do Or DiE sItUaTiOn, HuRrY!

[–] moosetwin@lemmy.dbzer0.com 10 points 2 years ago

I wish there was a last panel of the old guy getting revived, I think it would be funny

[–] nyan@lemmy.cafe 9 points 2 years ago

bash: sudo: command not found

After all, we don't know that he has it installed, especially if he's running a really old distro.

[–] hakunawazo@lemmy.world 8 points 2 years ago* (last edited 2 years ago)
load more comments
view more: next ›