1168
you are viewing a single comment's thread
view the rest of the comments
[-] Trollception@lemmy.world 12 points 6 months ago

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?

[-] Wirlocke 28 points 6 months ago

May I introduce you to our lord and savior JavaScript?

[-] Leate_Wonceslace@lemmy.dbzer0.com 10 points 6 months ago
[-] Trollception@lemmy.world 7 points 6 months ago

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

this post was submitted on 13 Mar 2024
1168 points (100.0% liked)

Programmer Humor

19197 readers
1406 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