Tag methods versus metamethods

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tag methods versus metamethods

Matthew M. Burke
I did a quick search but may have overlooked something: has anybody
written about the pros and cons of tag methods from Lua 4 to metamethods
in Lua 5?

Thanks,

Matt

Reply | Threaded
Open this post in threaded view
|

Re: Tag methods versus metamethods

Luiz Henrique de Figueiredo
> I did a quick search but may have overlooked something: has anybody
> written about the pros and cons of tag methods from Lua 4 to metamethods
> in Lua 5?

See section 6.8 of The Evolution of Lua
<http://www.lua.org/doc/hopl.pdf> and elsewhere in the same paper.