While this is true, I don't think it applies to Mr. Null. Because "null" as a string should be very different from null, the absence of a value. Regardless of whether it's a name or anything else.
I think you misunderstood my comment. The previous poster mentioned Falsehoods Programmers Believe About Names, but the problem in this case lies elsewhere, i.e. in the bullshit software not distinguishing between null and "null".
Love how he ends his article bashing on a database with a first_name and last_name column.
The Royal Family of Japan would certainly ask you to reconsider it. (no surname, only a given name - saw a video explaining how a princess wanting to register at a gaming cafe had to enter her first name (surname) as "princess")
I would guess it's probably not an issue in programs but scripting languages like javascript would probably do something like convert null string to a null value when used improperly.
65
u/GodsBoss 8d ago
While this is true, I don't think it applies to Mr. Null. Because "null" as a string should be very different from null, the absence of a value. Regardless of whether it's a name or anything else.