[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Say No to global-by-default
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Wed, 4 Jul 2018 09:22:09 +0200
On Wed, Jul 4, 2018 at 7:26 AM, Egor Skriptunoff
> "$" is not a part of an identifier.
> "$" is a lexem (for example, there could be a space between "$" and global
> variable name).
> "$" is absolutely the same as "_ENV." but is more comfortable to use.
Making global access explicit but light is actually a good idea IMO.
The specific use of `$` is reminiscent of Perl and PHP though. `@` is
also available and I'd expect it to be less controversial.