[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Let deprecate to-be-close variables as harmful concept
- From: bil til <biltil52@...>
- Date: Sun, 15 Oct 2023 21:11:58 +0200
If I understand correctly what you mean by detail (details are often
"tricky devils" in programming :) ), then you propose quite the way
how e. g. the file meta does this in iolib.c (see f_close and f_gc).
I think this is done there quite as you propose it here, and adhering
to such "internal Lua close/gc handling" will for sure make very much
sense - the file meta is a nice Lua example how to design a meta I
think... .