[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Abstract classes and interfaces in Lua
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 18 Apr 2017 09:46:41 +0200
On Mon, Apr 17, 2017 at 10:56 PM, Jorge <xxopxe@gmail.com> 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.