lua-users home
lua-l archive

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


2018-03-19 22:12 GMT+02:00 Gregg Reynolds <dev@mobileink.com>:
>
>
> On Fri, Mar 16, 2018, 6:31 AM Dirk Laurie <dirk.laurie@gmail.com> wrote:
>>
>> Define a "strong table" as one in which 't[k]=nil' does not remove the
>> key, it stores nil.
>
>
> Result: two types of tables. Bad idea.
>
> Non sunt multiplicanda entia sine necessitate
>
> (Occam's razor)

Well, there are already four types of table, three of which are
varieties of weak (weak keys, weak values, weak both). So Occam's
razor has already lost its keenness.