Am Mi., 19. Juni 2024 um 16:37 Uhr schrieb 'Sainan' via lua-l
<
lu...@googlegroups.com>:
>
> Do you actually need type safety or do you just think you need type safety?
You could also consider to edit Lua programs with MS free of charge
"Visual Studio Code" together with free Sumneko add-on "Lua programmed
by Lua" (do NOT mix up with MSVC, which is the non-free Visual
Compiler of MS).
Then you get quite advanced on-site code checking - this has 3 warning
levels red/ yellow/ blue, and the blue or yellow warnings will
includes checking variable usage against the variable definitions -
typically very useful. (just of course there ARE many Lua functions
like e. g. print, string.format etc. returning or using Lua types with
different types intentionally - in such caess Visual Studio type
checking will somehow "instruct the user" not to use such "type
mangling" in a TOO "offensive" way.