lua-users home
lua-l archive

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


Op So., 2 Sep. 2018 om 15:17 het Enrico Colombini <erix@erix.it> geskryf:

> > 2) IMO, Lua have to somehow solve the problem of absence of warnings
> > about misspelled identifiers.

It has solved the problem of retrieving unassigned globals. It's
called 'strict.lua'. It's not in the distribution. Maybe it should be.
But Penlight and stdlib both supply it.

It has not solved the problem of mind-reading the programmer. If you
have variables x1 and xi, and by accident type xi when you mean x1,
not even strict.lua will complain.