lua-users home
lua-l archive

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

On 18.11.2011 20:27, Dirk Laurie wrote:
2. Don't use # or the table library on non-sequences.

WOW, why is that?

What I don't like about 5.2 is that 5.1 is cleaner in many ways. __gc behaves as a normal methamethod (no 'tagging' of userdata), function definitions always produce a new function, 'level' parameter of 'error' actually makes sense (it lost any sense in 5.2 due to pointless decision to abolish tail calls counting). 5.2 has cleaner sides too, like yielding despite pcall/iterator/metamethod and _ENV.

Best regards,
Sergey Rozhenko