lua-users home
lua-l archive

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


Yes, it would be a terrible thing. Worst case it might actually force programmers to write correct code and code which can sensibly handle errors. I mean, where would it end?

Robert


On 10 January 2015 at 11:43, Rob Kendrick <rjek@rjek.com> wrote:
On Fri, Jan 09, 2015 at 09:45:40PM +0100, Enrique Arizón Benito wrote:
> Hi,
>
> as Rob Kendrick indicated, replacing nil and raising an exception is the
> only possibility. (and it's a good thing to do, since this avoid the
> program to continue with an un-initialized variable).

But I actually indicated that it was a horrible thing to do :)

B.