[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Non-lexical (lexical) scoping
- From: Sean Bolton <sean@...>
- Date: Tue, 20 Mar 2018 08:26:50 -0700
On Tue Mar 20 2018, Egor Skriptunoff wrote:
> On Tue, Mar 20, 2018 at 1:38 AM, Soni "They/Them" L. wrote:
>
> > the ability to undefine variables.
> > That ability is itself lexically scoped
> >
> Why the heck do you need this?
> Show real-life example, please.
I think it's an attempt to catch up to JavaScript. For example,
'this' with 'call', 'bind', 'apply', and '=>' in various scopes.
We can't have Lua falling behind in confusingness!
Sorry, Soni, I admire your curiosity and inventiveness, but I just
couldn't resist teasing.
-Sean