|
|
||
|
I wonder if there's an argument, on larger projects, for something like:
====
--global.lua
return {}
====
--myappfiles*.lua
local global = require"global"
-- Init
global.foo = 123
-- etc...
====
Leaving _G to the standard libs.
Scott
why not just local global = _G ? Oliver