← Back to context

Comment by bryanrasmussen

1 month ago

how is Lua quirky? I've looked at it once and I didn't see anything that I thought was weird, although that was on the syntactical level.

Syntactically: From `~=` instead of `!=`, and no support for `+=` or `continue`, to free-form syntax with no statement separators - except in that one place where they're necessary.

Semantically: Conflation of arrays and maps, conflation of `nil` and empty (both in tables and in function arguments), and the perennially-unpopular 1-based indexing.