r/lua • u/jadfe1234 • Jan 01 '26
What are some of your problems with lua?
Love2d and other libraries are welcome but just say what library your talking about
22
Upvotes
r/lua • u/jadfe1234 • Jan 01 '26
Love2d and other libraries are welcome but just say what library your talking about
View all comments
Show parent comment
1
u/didntplaymysummercar Jan 02 '26
They could keep it and add [] to mean arrays, just like Python. Implementation already account for metatables and indexing non-tables, so it's just an extra branch in those places.
It's not a keyword, the name is just a convention, only
*or**matters, and yes, I know how tables can achieve same args + keyword args in Lua and (rarely) use it.