this post was submitted on 25 Sep 2025
1123 points (99.1% liked)

Programmer Humor

30411 readers
1820 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?

(page 2) 30 comments
sorted by: hot top controversial new old
[–] TheV2@programming.dev 2 points 5 months ago

They're not giving you a string, but an error.

[–] danc4498@lemmy.world 2 points 5 months ago
[–] tetris11@feddit.uk 2 points 5 months ago* (last edited 5 months ago) (2 children)

Boolean functions have potentially infinite return states depending on error handling

  • True
  • False
  • NA
  • NULL
  • Error1 "You done messed up."
  • Error2 "You done messed up differently. But again."
  • Error3 "My tender bosom heaves in anguish"

etc

load more comments (2 replies)
[–] Bakkoda@sh.itjust.works 2 points 5 months ago

"JAVA solves this problem by ..."

  • RIT in the fall, 2001
[–] goatinspace@feddit.org 2 points 5 months ago
[–] hemmes@lemmy.world 1 points 5 months ago

It’s just being enumerated!

[–] knightly@pawb.social 1 points 5 months ago

Sometimes my thoughts have bonus content. =3

[–] yagurlreese@lemmy.world 1 points 5 months ago

true || response == "true" 🤣

[–] bier@feddit.nl 1 points 5 months ago

I was just watching this classic video, wich is a great example of the meme

https://youtu.be/thIRJLsnIxY

[–] PattyMcB@lemmy.world 1 points 5 months ago

Ah, so you know my ex

load more comments
view more: ‹ prev next ›