this post was submitted on 08 Feb 2024
320 points (98.8% liked)

Programmer Humor

25448 readers
923 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
 
top 5 comments
sorted by: hot top controversial new old
[–] CodexArcanum@lemmy.world 29 points 2 years ago

If I can't be a number, none of you can!

(See also cascading nulls)

[–] AlmightySnoo@lemmy.world 9 points 2 years ago

for the math homies, you could say that NaN is an absorbing element

[–] WaterWaiver@aussie.zone 7 points 2 years ago* (last edited 2 years ago) (1 children)

In Kerbal Space Program your ships sometimes catch the NaN virus. If one fuel tank level is reading NaN then whatever you do DON'T try and fill it from another (full) tank. I'm not sure if it can spread to physics (thrust, mass, etc) EDIT: Yes it can happen to physics, oh dear.

I wonder what would happen if you landed a NaN-infected spaceship on a planet.

[–] Mesa@programming.dev 2 points 2 years ago

That's both really cool and very concerning at the same time. I'd be scared to play lol.

[–] Kissaki@programming.dev 3 points 2 years ago

It's infectious!