On Nov 25, 2013, at 7:24 AM, John Hind <firstname.lastname@example.org> wrote:
1) Iterating over a linked list (__ipairs can cache the current node)
… because ipairs() is implicitly designed for hijacking … using __ipairs(). And this allows the creation of generic code more easily than iterator factories for those who are less experienced in OO (re: many users of Lua). I think both examples are valid.