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
23
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/no_brains101 Jan 02 '26 edited Jan 02 '26
Yeah I know and I've had to. Still don't really want to make a proxy object for it XD
They should probably be 2 separate types, however the tables should still have the array shorthand lol because being able to mix table and array syntax like that is actually kinda nice, just not when you want the thing to actually be an array lol
Its like python's keyword args when you take a table as argument lol and that is a nice feature of lua tables. Its just not as nice when you actually want a list XD