lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Miles Bader <> 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  <>
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,
occasionally poor.