[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntactical ugliness - does it matter?
- From: Dibyendu Majumdar <mobile@...>
- Date: Wed, 5 Jun 2019 11:26:55 +0100
On Tue, 4 Jun 2019 at 21:24, Egor Skriptunoff
<egor.skriptunoff@gmail.com> wrote:
>
> I suggest to replace "toclose" and "__close" with more expressive words:
> local <resource> x = setmetatable(obj, {__release = ...})
>
+1
Following would work too in my view:
local resource x = setmetatable(obj, {__release = ...})
Regards