lua-users home
lua-l archive

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


Actually my point was to NOT abuse 'nil' .. you can re-read my posts if you like.

If you find the discussion tired and frustrating, there is no need for you to continue to participate. I wasn't aware that discussions here had to cease when you decreed.

--Tim

On Jul 6, 2013, at 7:02 AM, Patrick Donnelly <batrick@batbytes.com> wrote:

This abuse of nil really needs to stop. Arrays in Lua are dynamic and
necessarily use nil to signal the end. You can't have holes in your
array: part of the definition of the data structure (not just in Lua).

If you want an "empty" value, *make one*. There have been so many
suggestions on how to build your own that this continued discussion
has become tired and frustrating. If anything is clear, the language
does not need to be changed to accommodate you.