Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
topspin
· 1y ago · 0 comments
Had exactly the same thought. The first thing on the list: invalid reference/null pointer exceptions, or whatever they're called here.
Comments
[–]
elitepleb
1y ago
This Nil is not a Null, and is only used as a sentinel value to return an error value. And unlike lua, indexing into an unasigned value will not return nil, but throw an exception like index_error.