lua-users home
lua-l archive

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


On 2 June 2011 08:32, Miles Bader <miles@gnu.org> wrote:
> Reuben Thomas <rrt@sc3d.org> 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."

That's crazy talk! You'll be suggesting that Lua should be
statically-typed next. Seriously, horses for courses, and "error by
default" would not fit with Lua.

-- 
http://rrt.sc3d.org