this post was submitted on 08 Feb 2024
351 points (98.9% liked)

Programmer Humor

19572 readers
1986 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 1 year ago
MODERATORS
 
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 9 months ago

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

(See also cascading nulls)

[–] [email protected] 10 points 9 months ago

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

[–] [email protected] 7 points 9 months ago* (last edited 9 months 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.

[–] [email protected] 2 points 9 months ago

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

[–] [email protected] 3 points 9 months ago

It's infectious!