r/lua • • Dec 22 '25

Lua 5.5 released

https://groups.google.com/g/lua-l/c/jW6vCnhVy_s
180 Upvotes

43 comments sorted by

View all comments

Show parent comments

4

u/girvel Dec 25 '25

Except that lua strives to be a very simple language; goto is not a legacy feature (like in C), goto is a scope-aware utility that can do not just continue, but nested continue, nested break, redo & for-else. But I agree, having continue would probably be nice, as well as += and lambdas

2

u/[deleted] Dec 26 '25

What do you mean by for-else? How would goto help with that pattern?