this post was submitted on 23 Mar 2026
580 points (98.5% liked)

Programmer Humor

33155 readers
402 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 3 years ago
MODERATORS
 

https://defcon.social/@fortyseven/116279569744717982

i miss when the law was trying to seem serious

all 33 comments
sorted by: hot top controversial new old
[–] bleistift2@sopuli.xyz 92 points 5 months ago (1 children)
[–] Alexstarfire@lemmy.world 21 points 5 months ago (1 children)
[–] joelfromaus@aussie.zone 10 points 5 months ago
[–] verdare@piefed.blahaj.zone 47 points 5 months ago (1 children)

I don’t see a call to fork(), so there’s clearly no child here.

[–] elvith@feddit.org 19 points 5 months ago (1 children)
bool isChild() {
  pid_t result= fork()
  return (result == 0)
}
[–] SpaceNoodle@lemmy.world 11 points 5 months ago

Nope. The check should be in a while loop

[–] lime@feddit.nu 31 points 5 months ago* (last edited 5 months ago) (1 children)
def verify_age(u: User) -> bool:
    return hasattr(u, "age") and u.age is not None
[–] SpaceNoodle@lemmy.world 16 points 5 months ago (1 children)

Unacceptable. All my friends are None

[–] lime@feddit.nu 2 points 5 months ago* (last edited 5 months ago)

*to the tune of California Dreamin'*

[–] eager_eagle@lemmy.world 29 points 5 months ago
[–] agamemnonymous@sh.itjust.works 8 points 5 months ago

There's only one thing worse than a rapist

[–] CodiUnicorn@programming.dev 5 points 5 months ago

"I fear no man. But that thing, it scares me."

[–] Ghostie@lemmy.zip 4 points 5 months ago* (last edited 5 months ago)

Troll em with a >