strictness

Tracks declaration and assignment of globals in Lua

Strictness is yet another pure Lua module (compatible with Lua 5.1 and 5.2)
which stands for tracking global variables declaration and assignments in your code.
It enforces to declare globals using a new statement, before assignment. As such, it
helps having a better control on the scope of variables and therefore minimizes the
global environment namespace pollution.

Versions

0.1.0-15 years ago21 downloads

Dependencies

lua >= 5.1, <= 5.2

Labels