lua-users home
lua-l archive

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


* Jonathan Castello:

> I personally haven't had too many nightmares from misspelling variable
> names,

I think misspelling is sort of a red herring here.  The main issue is
consistent spelling, but using a global when a local was appropriate.
The code appears to work perfectly well, but it is not reentrant,
which means that it cannot be used reliably from co-routines.  Worse,
it is non-reentrant with respect to other code which happens to misuse
the same global.