[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: upvals in Lua bytecode
- From: Tony Finch <dot@...>
- Date: Thu, 2 Jun 2011 11:37:48 +0100
Miles Bader <firstname.lastname@example.org> wrote:
> There are other, better, options than those two though, e.g., "error by default."
There are quite a few options in this design space, most of which are not
very Lua-ish, e.g. using shorter keywords (my/our instead of
local/global), use sigils to indicate scope ($v for _ENV.v, @v for
self.v), use v := e as an abbreviation for local v = e.
f.anthony.n.finch <email@example.com> http://dotat.at/
Rockall, Malin, Hebrides: South 5 to 7, occasionally gale 8 at first in
Rockall and Malin, veering west or northwest 4 or 5, then backing southwest 5
or 6 later. Rough or very rough. Occasional rain. Moderate or good,