lua-users home
lua-l archive

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


2014-08-09 22:10 GMT+02:00 Tim Hill <drtimhill@gmail.com>:
>
> On Aug 9, 2014, at 1:38 AM, Axel Kittenberger <axkibe@gmail.com> wrote:
>
> Yes, it has been hughly debated.
> http://lua-users.org/wiki/LocalByDefault
>
> I personally feel implicit anything by default is a stupid idea, since for
> somebody doing a project beyond the simple quick&dirty hack thats only ran
> once, typing a few chars more always compensates for a long debugging
> session, but oh well. Unfortunally languages are still often compared.
> debated and evaluated with "look I can do the same thing with even less
> characters, my language is cooler!"
>
>
> +1

However, implicit global is not as bad since you can do something
about it at the Lua level. If `require "strict"