lua-users home
lua-l archive

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


On Friday, November 21, 2014 07:27:12 PM Thiago L. wrote:
> Somehow Java gets away with it...

Java does not have tables or anything like it. Only POD types and simple 
arrays. Everything else is built on top of the VM as classes.

So what you're really saying is if you want to track the number of items in a 
table, the best way is to code your own item-counting class using metamethods. 
And I agree.

Java is also much larger than Lua.

-- 
tom <telliamed@whoopdedo.org>