Re: [proposal] Using nil/NaN as table index
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [proposal] Using nil/NaN as table index
- From: Peter Melnichenko <petjamelnik@...>
- Date: 2014年4月09日 00:16:32 +0400
2014年04月08日 22:41 GMT+03:00 Dirk Laurie <dirk.laurie@gmail.com>:
> [...]
> When setting a field, these two keys that are a priori known to be
> non-retrievable helpfully throw an error instead of bequeathing
> a thorny debugging problem to the user.
>
> That's a service, not an inconsistency.
What's inconsistent, in my opinion, is that an error is not thrown when _getting_ a field using those non-retrievable keys, which may result in thorny debugging problems as well.
Peter