this post was submitted on 25 Sep 2025
1112 points (99.2% liked)

Programmer Humor

26673 readers
1655 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
 

Only valid in PHP?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Pipster@lemmy.blahaj.zone 18 points 1 week ago (3 children)

Sounds like a problem in the question. "Yes" is a perfectly valid response to "Do you want eggs or cheese"?

[โ€“] schnurrito@discuss.tchncs.de 1 points 6 days ago (1 children)

Bug in the English language. ๐Ÿคฃ

[โ€“] psud@aussie.zone 2 points 6 days ago

It's a feature

[โ€“] Szyler@lemmy.world 6 points 1 week ago

Include or is the funniest answers when possible. I do it all the time to confuse neurotypicals.

[โ€“] user224@lemmy.sdf.org 2 points 1 week ago

I usually use yes/no for the first condition if it's XOR with 2 options (thus the second yes/no is implied).