lua-users home
lua-l archive

Re: [ANN] Lua 5.2.0 (beta-rc1) now available

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


"Joseph Manning" <manning@cs.ucc.ie> writes:
> The whole point here is to use a keyword. That keyword does not need
> to be the actual word "label".
>
> Alternatives include
> "spot", "point", "place", "target", "location", "destination", ...
>
> No doubt any choice could cause breakage for *some* existing programs,
> but it's a matter of the best *overall* way forward for Lua users.
Why do you think a keyword would be better?
AFAICS, a keyword would be worse: besides the obvious problem of
messing up some peoples' programs, it would make labels significantly
less visible (no, highlighting by editors isn't sufficient), and we
_want_ labels to be highly visible.
Even though Lua uses keywords in many places, it's certainly not
necessary that it use keywords for _everything_.
-Miles
-- 
Dawn, n. When men of reason go to bed.

AltStyle によって変換されたページ (->オリジナル) /