lua-users home
lua-l archive

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

On Mon, Apr 17, 2017 at 10:56 PM, Jorge <> wrote:
> have to think about the scope of your variables: what declaration is visible
> from where, and if you get that right, everything will just work. And the
> scoping in Lua is very simple.

This is very true, certainly compared to Python or Javascript (my
usual Javascript experience is "WTF is this?").

I did not automatically fall in love with closures, had to get to know
them first. We forget our first pains and remember the romance.