lua-users home
lua-l archive

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

> since an accidental nil variable is all too common.

Thats quite a problem by itself, accidental filling stuff with nil and
hoping that nil might possibly raise an error later on. Errors sould
be raised where they occured, and if you want to ensure a value not to
be nil, it should be asserted(). (Tough, if there wouldn't be any nil
... :-)