lua-users home
lua-l archive

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


On Sat, 15 Jun 2019 21:50:41 +0200
Francisco Olarte <folarte@peoplecall.com> wrote:

> So, is there any problem with storing strange things in an object metatable?

My database library SqlTable does exactly this, to prevent it's
internal state information from colliding with the keys of data within
the database.

It hasn't caused problems in Lua 5.1 through to 5.3, so it at least
works well. If it's actually a good idea... I don't know.

-- 
Aaron B. <aaron@zadzmo.org>