2 ms·
I agree that semantic mismatches are a worse problem than syntactic mismatches. However in the case of Lua, because of dynamic typing and late binding, it woul
by astrobe_ 4y ago
I agree that semantic mismatches are a worse problem than syntactic mismatches.
However in the case of Lua, because of dynamic typing and late binding, it would not be wise to not have unit tests and full test coverage. This mostly reduces semantic mistakes (indexing, 0-is-not-false, etc.) mostly to annoyances like syntax errors. "mostly" because some "stateful" operations need additional test efforts, and finding out why a test fails is not always straightforward.