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

Programmer Humor

27083 readers
1289 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
[–] Bakkoda@sh.itjust.works 2 points 1 month ago

"JAVA solves this problem by ..."

  • RIT in the fall, 2001
[–] danc4498@lemmy.world 2 points 1 month ago
[–] goatinspace@feddit.org 2 points 1 month ago
[–] tetris11@feddit.uk 2 points 1 month ago* (last edited 1 month 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)
[–] TheV2@programming.dev 2 points 1 month ago

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

[–] PattyMcB@lemmy.world 1 points 1 month ago

Ah, so you know my ex

[–] knightly@pawb.social 1 points 1 month ago

Sometimes my thoughts have bonus content. =3

[–] hemmes@lemmy.world 1 points 1 month ago

It’s just being enumerated!

[–] yagurlreese@lemmy.world 1 points 1 month ago

true || response == "true" 🤣

[–] bier@feddit.nl 1 points 1 month ago

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

https://youtu.be/thIRJLsnIxY

load more comments
view more: ‹ prev next ›