3 ms·
> My main beef with Lua is the absence of ‘null’ Lua’s equivalent is `nil` - I assume that doesn’t do what you need? How would the behaviour of `null` differ f
by pansa2 6y ago
> My main beef with Lua is the absence of ‘null’
Lua’s equivalent is `nil` - I assume that doesn’t do what you need? How would the behaviour of `null` differ from Lua’s `nil`?
- aasasd 6y agoHeh, someone shows up to remind me of ‘nil’ each time I say that. Lua's ‘nil’ is not a value, it's a void in which all undefined variables swim. Specifically, if you assign nil to a table field, you can't know what fields the table has unless you have that schema beforehand.