2 ms·
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
by embedding-shape 11mo 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.
- TheCycoONE 11mo agolua does not preserve compatibility between minor versions. As such they don't need to reserve words for future use.
- mjmas 11mo agoThe point now is so that if you use a `global` statement in your code, Lua will now error on misspellings of local variables when compiling, rather than defaulting to treat them as globals.