[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Table dot number?
- From: Stefan Reich <stefan.reich.maker.of.eye@...>
- Date: Fri, 28 Oct 2011 15:53:52 +0000
On Fri, Oct 28, 2011 at 9:28 AM, Miles Bader <email@example.com> wrote:
> HyperHacker <firstname.lastname@example.org> writes:
>> funcs['for'] = function(...) doStuff() end --OK, but harder to read,
>> especially alongside those like the first line.
> c'mon, that's not _that_ bad, especially given that it will only
> rarely need to be used. It's arguably even a good thing, since it
> explicitly makes the point "hey this function name is a keyword, so be
Yeah, it sounds really smart to use "for" as a function name in your
Lua code :-))