4 ms·
The Lua developers are generally not very fond of endorsing a single "right way" to do things. But basically, it's something like: -- localize all the stuf
by LeafStorm 15y ago
The Lua developers are generally not very fond of endorsing a single "right way" to do things. But basically, it's something like:
-- localize all the stuff you need
local _ENV = {}
-- module code
return _ENV
So really not that much code to add yourself.