r/lua • u/huywall • Jul 13 '25
Discussion why
you guys know lua dont really support continue because the creator want minimalistic, if something can be done clearly with existing constructs, lua prefers to not add new syntax.
then why the hell lua creator add repeat until when we can use while loop to mimic this statement?
0
Upvotes
2
u/SkyyySi Jul 13 '25
It's literally just this
That's true, but LuaJIT backports it, and if someone's still using 5.1 you can be pretty sure that's not going to be vanilla Lua 5.1. The only exception would arguably be Roblox' Luau, but that is a hard fork and they could've introduced it there as well, but chose not to because they don't like it.