[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re[2]: Soft Types System Proposal
- From: Mark Hamburg <mhamburg@...>
- Date: Mon, 25 Oct 2004 09:49:30 -0700
In my experience with Lua, type errors are relatively rare, but typing
errors are common. What those seem to need are an easy way to detect:
* Undefined variables. The various Lua lints detect this by looking for
unexpected global access. The language could probably become friendlier
about this though that would have to be balanced against keeping the
language friendly toward incremental compilation. Perhaps "new" globals
should only be allowed at the top level of a chunk.
* Misspelled messages.
* Misspelled table fields.
Mark