[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Say No to global-by-default
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 8 Jul 2018 12:14:20 +0200
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.
- References:
- Say No to global-by-default, Egor Skriptunoff
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Etiene Dalcol
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Thijs Schreijer
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Thijs Schreijer
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Marc Balmer
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Dirk Laurie
- Re: Say No to global-by-default, Pierre-Yves Gérardy
- Re: Say No to global-by-default, Dirk Laurie
- Re: Say No to global-by-default, Frank Kastenholz
- Re: Say No to global-by-default, Luiz Henrique de Figueiredo
- Re: Say No to global-by-default, Rena