[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (alpha) now available
- From: Coroutines <coroutines@...>
- Date: Fri, 1 Aug 2014 14:13:33 -0700
On Fri, Aug 1, 2014 at 2:10 PM, Tim Hill <drtimhill@gmail.com> wrote:
> However, I’m not too sure of the use cases here. Mostly, table.clear(x) can be replaced with x = {}. The only places this will not work is if the actually table is referenced from many locations (say, upvalues), but I’m not sure that these are particularly good designs anyway. Why create an API to encourage use of anti-patterns?
I think that is awfully presumptuous...