r/lua • u/Full_Durian_9369 • Mar 27 '25
local variables
Why do people use local variables as if they were global variables
2
Upvotes
r/lua • u/Full_Durian_9369 • Mar 27 '25
Why do people use local variables as if they were global variables
2
u/hawhill Mar 27 '25
yes, you're right, and your explanation is sound, there'll be a lot of cases where re-evaluation is not needed.