|
|
|
|
|
by themafia
262 days ago
|
|
> The 1 indexes are only a difference from what you're used to The left handed scissors are only a difference from what you're used to. > Lua was made by mathematicians The default value is nil and using nil as an index on a table returns nil. Yet nil + number is not valid and results in a runtime error. > it's pretty much just a leftover habit from C devs It's reflective of the fact that these languages are either intended to work with C APIs or are implemented in C itself. This makes writing FFI and extensions _far_ easier than it would be otherwise. |
|