this post was submitted on 28 Jun 2026
135 points (100.0% liked)

Programmer Humor

32005 readers
1283 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
 

A NaN spotted in the wild.

you are viewing a single comment's thread
view the rest of the comments
[–] copacetic@discuss.tchncs.de 9 points 3 hours ago

"I have five pounds. Is that enough?"

"No."

"It costs more than five pounds?"

"No."

"How much do I have to pay?"

"This is NaN pounds."

"That means it costs more than five pounds?"

"No."

"It costs less than five pounds?"

"No."

"Exactly five pounds?"

"No."

leaves the shop

(Remember, comparison with NaN is always false)