← Back to context Comment by rhelz 17 hours ago Why did you find this interesting? 3 comments rhelz Reply kevin_thibedeau 14 hours ago It indicates paving the path for local scoping in a future release where Lua 5 code is upgraded with global declarations to keep it working. NuclearPM 13 hours ago We have had local scoping for decades. embedding-shape 17 hours ago For me it's interesting because global variable declarations haven't been needed before, so why now? Also, I'm not sure `global` was reserved before, but now it seems to be.
kevin_thibedeau 14 hours ago It indicates paving the path for local scoping in a future release where Lua 5 code is upgraded with global declarations to keep it working. NuclearPM 13 hours ago We have had local scoping for decades.
embedding-shape 17 hours ago For me it's interesting because global variable declarations haven't been needed before, so why now? Also, I'm not sure `global` was reserved before, but now it seems to be.
It indicates paving the path for local scoping in a future release where Lua 5 code is upgraded with global declarations to keep it working.
We have had local scoping for decades.
For me it's interesting because global variable declarations haven't been needed before, so why now? Also, I'm not sure `global` was reserved before, but now it seems to be.