lua-users home
lua-l archive

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




On 26/01/16 08:02 PM, Dirk Laurie wrote:
2016-01-26 17:50 GMT+02:00 Soni L. <fakedme@gmail.com>:

`for k, v in next, t do` is a bit less clear than `for k, v in pairs(t) do`
On the contrary, I regard it as an idiom for bypassing __pairs
metamethods and have often used it.

It is not newbie-friendly and a newbie would probably be confused by it.

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.