3 ms·
Not a python expert, but python3 has had to add unlocal to let you create a non local variable. Lua requires explicit local, else things are global (which has d
by justincormack 14y ago
Not a python expert, but python3 has had to add unlocal to let you create a non local variable. Lua requires explicit local, else things are global (which has different problems but seems a more logical choice).
Lua also makes all loop indexes local to the loop which is very clean. Python has difficulty with this.