Board Thread:Watercooler/@comment-5590118-20150701035141/@comment-24473195-20150708120230

There is also another thing to be considered in terms of consistency in different modules. Some global modules can only be accessed directly using while others are designed to be accessible through a template, e.g..

Generally speaking, global modules should probably be designed to be accessible from both, as it could be incredibly frustrating, to assume that a module can only be accessed from template and believe that it has a bug because it doesn't.

In the event that a module for some reason should only be accessible using one or the other method, it should have proper error handling instead of triggering a lua error.

Also, it would be nice to have an automated battery of tests to make sure that the module is performing properly.