lua-users home
lua-l archive

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




On 1 June 2018 at 14:21, Thijs Schreijer <thijs@thijsschreijer.nl> wrote:
Despite the disappointed reactions on the above message so far, I for one couldn’t care less.

I'm roughly on the same place.  i find #t perfectly predictable: #t+1 is nil and #t is either occupied, or zero.  that's all.  all the talk about "you never know if a table is a valid sequence unless you generate it yourself!".... is just like dynamic types, you either write defensive code (check everything), or write pretty code and blame any error on the caller.



--
Javier