lua-users home
lua-l archive

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


A question about Lua coding style.
Is it a good or bad idea to distinguish global from local variables by its uppercase / lowercase initial letter?
Var=0 -- global
var=0 -- local or upvalue
https://stackoverflow.com/questions/72710110/uppercase-or-lowercase-for-global-variables