logoalt Hacker News

rhelzyesterday at 11:36 PM2 repliesview on HN

Why did you find this interesting?


Replies

kevin_thibedeautoday at 2:42 AM

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.

show 1 reply
embedding-shapeyesterday at 11:42 PM

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.

show 1 reply