486
you are viewing a single comment's thread
view the rest of the comments
[-] sorter_plainview@lemmy.today 60 points 2 months ago
[-] skisnow@lemmy.ca 23 points 2 months ago

That one wasn't the one I had issues with, since the concept is essentially the same across all languages. We say it's false because we can't conclusively say that it's true. Same as the reason why null != null in SQL.

[-] victorz@lemmy.world 5 points 2 months ago

It also makes a lot of conditional expressions less complicated because comparisons of all kind against NaN return false.

this post was submitted on 17 May 2025
486 points (100.0% liked)

Programmer Humor

25362 readers
722 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