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
1
u/no_brains101 Jan 01 '26 edited Jan 01 '26
Well, they fixed some of them.
For example in luajit, it's still on the Lua version where __len didn't apply to tables..... And neither does __pairs or __ipairs... And some other stupid metatable bullshit like that
I don't like that nil breaks lists, although I understand why it is that way. At least select('#' exists...
I don't hate 1 indexing enough to really care about that, and I like types but the LSP is pretty good with the type annotations so it's not the end of the world to not have them.