lua-users home
lua-l archive

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




On Wed, Jun 12, 2019 at 11:37 AM Coda Highland <chighland@gmail.com> wrote:


On Wed, Jun 12, 2019 at 1:02 PM Russell Haley <russ.haley@gmail.com> wrote:


On Wed, Jun 12, 2019 at 5:46 AM Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> Right now, my only complain with the <toclose> is the term "close" that I
> found a bit vague and over-loaded (conceptually).

Suggestions are welcome.

-- Roberto

local <finalize> varname

with a meta method of
__finalize or __finally

That's a little bit ambiguous with the use of a __gc method being called a "finalizer".

/s/ Adam 
Likely why it wasn't suggested by someone else then. 

(face palm) 
Russ