this post was submitted on 13 Mar 2024
1168 points (98.7% liked)
Programmer Humor
19488 readers
1248 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How the heck does a system interpret a string value null as a literal null? That seems insane to me that there really is software out there written like this. "null" != null... Or so I thought, maybe there are languages out there that this can happen in easily? Or someone is storing the string value of null in a non nullable database column?
May I introduce you to our lord and savior JavaScript?
Javas Christ.
But even in JavaScript a string representation of null is not equal to a null literal. 'null' or "null" are not the same as null