[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Access a member from within the table def
- From: Jonathan Castello <twisolar@...>
- Date: Sat, 15 May 2010 11:58:58 -0700
On Sat, May 15, 2010 at 10:09 AM, Duncan Cross <duncan.cross@gmail.com> wrote:
> On Sat, May 15, 2010 at 4:16 PM, steve donovan
> <steve.j.donovan@gmail.com> wrote:
>> Yes, it seemed a very interesting idea - no more function
>> environments! Although in .. do remains as syntactical sugar? Having
>> to explicitly use a special variable name like _ENV seems less than
>> elegant.
>
> In Roberto's "new proposal for environments" thread [1], he said in ..
> do is "gone". To be honest, I think keeping it on as syntactic sugar
> would be more likely to cause confusion than elegance.
>
> [1] http://lua-users.org/lists/lua-l/2010-02/msg00753.html
>
> -Duncan
>
Ah, really? I actually liked that syntax a lot.
~Jonathan