lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jul 5, 2018 at 8:59 PM, Rena <hyperhacker@gmail.com> wrote:
> +1. IMO Lua's scoping works great as it is. You don't need to do anything
> awkward to access globals like `print`,

Plus, not difficult to write static analyzers that get pedantic about
_unknown_ global access.  Saved me much grief.

The one approach I followed was the old 'analyze byte code one'. So
standing on the shoulders of some giants, I did lglob.

I hesitate to use the word 'evil' in the context of programming
language features (except possibly overeager and confusing
auto-conversions that made VB such a mess and continue to vex the
modern Javascript world).  If features can be tamed, then they are not
evil.