563
panic (lemmy.blahaj.zone)
submitted 1 month ago by not_IO to c/programmer_humor@programming.dev

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

i miss when the law was trying to seem serious

you are viewing a single comment's thread
view the rest of the comments
[-] elvith@feddit.org 19 points 1 month ago
bool isChild() {
  pid_t result= fork()
  return (result == 0)
}
[-] SpaceNoodle@lemmy.world 11 points 1 month ago

Nope. The check should be in a while loop

this post was submitted on 23 Mar 2026
563 points (100.0% liked)

Programmer Humor

31199 readers
887 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