Why does Lua default to global variables? -
my favourite language these days lua. have 1 issue it, why on earth default behaviour variables in functions global? in similar language icon there keyword "global" used when 1 wants use global instead of natural behaviour default local (i bitten again 5 minutes ago). feel better if tell me rational behind (like scoping difficulties know cause absence of "continue" keyword in lua).
Comments
Post a Comment