lua-users home
lua-l archive

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


The fact that the bug can go silently and only reveal itself later goes for 99% of algorithmic bugs.

A function that can't handle a nil should check for it, not doing so is really programmer fault. No language can prevent programmer error. C just crashes, Lua silently accepts it, other languages try to handhold you more and start screaming and crying.

Lua is very powerful, and with power comes responsibility. You can't blame the language for not dealing with programmer error. 

If that's what you want, you're maybe using the wrong language.