3 ms·
how has your experience without using types in lua been so far with regards to finding out where issues reside and debugging unexpected values?
by onehair 3y ago
how has your experience without using types in lua been so far with regards to finding out where issues reside and debugging unexpected values?
- akkartik 3y agoGreat question! It's not ideal, but has been outweighed so far by the other benefits I mentioned. I do track the issues I run into due to lack of static types[1] in the Manual_tests files in each of my projects, e.g. https://github.com/akkartik/lines.love/blob/e568378ecb/Manual_tests.md#other-compromises https://github.com/akkartik/lines.love/blob/e568378ecb/Manua... [1] I wouldn't say Lua/Python/Javascript has no types. They just lack types for variables rather than values. Forth, on the other hand, has no types period.