lua-users home
lua-l archive

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

Le 01/07/2014 15:08, Andrew Starks a écrit :

Told from the perspective of JavaScript, but most of it applies to Lua, as well.


For me, one of the only thing I do agree is that the lack of static analysis can lead to bugs. In Lua if I type:


The code will obviously load as there are no syntax error, but will fail at the execution since unexistant is not a defined variable. In C++, you will actually have an error at the compilation. For that issue, you can only check at runtime and personally, it's the only problem I have when I develop irccd [1] plugins.