Re: Function statement name syntax in Lua

Francisco Olarte <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <CA+bJJbzPBxrwHnqWSwpLpY2xCUFzgiTvCHNkVxQpWbzzBCZXQQ@mail.gmail.com>
On Sat, 31 Jan 2026 at 12:06, bil til <[email protected]> wrote:
....

But I think especially for meta-tabels (typically e. g. some C
> programmed userdata) this is super-nice and very intuitive.
>
> (e. g. file f..., f:write(...) instead of file.write( f, ...) ).
>

Maybe not that intuitive. f.write(f,...). ( It makes a difference, I use it
a lot in some modules I wrote, to avoid needing a derived class per object )

Francisco Olarte.

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/CA%2BbJJbzPBxrwHnqWSwpLpY2xCUFzgiTvCHNkVxQpWbzzBCZXQQ%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.