2 ms·
Two things being false can be quite pleasant, but making the empty list nil isn't worth it. Lua gets this right, `nil` is the Ground State of Being, you get it
by samatman 4y ago
Two things being false can be quite pleasant, but making the empty list nil isn't worth it.
Lua gets this right, `nil` is the Ground State of Being, you get it back in lieu of a value any time you try to find one.
This requires also having a `false` because logical conditions have to be streamed sometimes and you can't transport a key with a nil value by definition.
But an empty list/table being 'false' is convenient right until it isn't. It's a kludge.