Originally Posted by Torhal
Including this line, however, is not redundant
|
The code as posted in its intent, to register the shared table as a global, would be redundant. Reregistering a global multiple times follows the exact definition of redundancy.
Torhol's method of having an addon remain out of the global namespace is a valid approach, although if you have modules loaded as LoD, there isn't any other way around it. Also a global namespace helps with poking around your addon while trying to debug errors.