Conversation

nono you see it’s very simple. undefined means “there’s nothing here”, but null means “there’s something here, and that something is nothing”

3
1
4

@kasdeya do not confuse with 0 which means the quantity is equal to nothing, but not nothing itself

1
0
1

@kasdeya i always kind of liked the concept for NULL from traditional databases: it's not "nothing", it's unknown, so you can't (well, shouldn't) make any inferences from it that might be invalidated if you did know the true value

of course nobody, not even database people, treat NULL consistently, so ymmv... i just liked how it's supposed to mean "could be anything, make no adverse inferences"

1
0
1

@kasdeya is this like the difference between "I wasn't planning on doing anything today" and "I was planning on doing Nothing™ today"? leafeon_giggle

0
0
1

@efi @kasdeya Also do not confuse with “false”. This is not a LISP.

0
0
1

@liese oohh that does sound like it could come in handy! I like the distinction between “there’s nothing here” and “there’s something here but we don’t know what it is”

0
0
1