|
|
|
|
|
by chubot
4165 days ago
|
|
I'm curious what your team experience was with Lua. IIRC, Lua is even more liberal than Python in that if you mistype a variable name, it will silently give you 'nil' rather than throwing an exception. Also, the prototype system is a little wonky. It seems overly flexible and makes you do too much work yourself, which would make it hard on a large team all getting started at once. If Torch gets popular I wonder if something like TypeScript or Facebook's own Flow would start to make sense. |
|
Like most things in Lua, that is easy to customize. You can just add an __index metamethod to environment tables. There are various 'strict' modules which do just that.