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
Oh, another change I would make
local a, b, c = 1, 2, 3returns
1, 2, 3Assignment as expression. This should probably also apply for
__newindexAlthough that interaction is probably part of why we don't have this.This probably also screws with fennel just, like, really hard if they wanted to add that feature, but maybe Im just uncreative and/or forgetting how fennel assignment works.
Unfortunately
if else endas expression doesn't work as nicely in lua.... But thats OK causeorandandcover that