this post was submitted on 08 Feb 2024
331 points (99.1% liked)

Programmer Humor

19735 readers
468 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 29 points 10 months ago

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

(See also cascading nulls)

[–] AlmightySnoo 9 points 10 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!