[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Some enhancements in table initializations
- From: Jonathan Castello <twisolar@...>
- Date: Tue, 21 Sep 2010 02:48:02 -0700
On Tue, Sep 21, 2010 at 2:44 AM, Jonathan Castello <twisolar@gmail.com> wrote:
> As far as Lua goes, I prefer the greedy approach Lua 5.2 introduces
> for the one case in 5.1 where a newline matters. Unfortunately, my
> environmental-indexing suggestion goes completely against this
> approach, since something like this would look sane to the developer,
> yet Lua would understand it differently:
It's late and I forgot to mention this: In your example, the second
interpretation - one statement followed by another - is also logical
and I would prefer it in many instances too. It's just the fine lines
a language must walk, I suppose...
~Jonathan