lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Has anyone ever thought variables should be local by default?
I personally find it somewhat backwards declaring 'local',
and this is showing up more now that you can thread lua.

Could I easily change this functionality modifying just
luaK_storevar, or would that require a lot more work? 

Maybe I am the minority here but I would rather specify
scope for global variables when needed, and have variables
act as if declared local by default.