lua-users home
lua-l archive

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


> ”globals are evil” usually refers to mutable global state. We have that 
> too, although we try to avoid it if possible (grouping global vars into 
> namespaces helps).

And modules. Don't use globals in modules. You never know when you will cause a silent collision with something else.