[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: upvals in Lua bytecode
- From: Miles Bader <miles@...>
- Date: Thu, 02 Jun 2011 16:32:16 +0900
Reuben Thomas <email@example.com> writes:
> I've flip-flopped on this question, but have ended up in the "local by
> default" camp. It simply causes fewer problems (not "no problems")
> than the reverse, and simply laying some Lua side-by-side with
> equivalent Python shows this: the Lua contains many "local"s, whereas
> the Python contains almost no "outer"s.
There are other, better, options than those two though, e.g., "error by default."
Education, n. That which discloses to the wise and disguises from the foolish
their lack of understanding.