lua-users home
lua-l archive

Re: Abolishing the numeric-for

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


Exactly. Not to undercut Jonathan Castello, but I'd like to make a post simply on __iter itself before we take up arms against the numeric for. On 2010年5月24日 14:57:55 -0700, M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> wrote:
On 2010年5月24日, Jonathan Castello wrote:
Please let me know what you think, I'd really appreciate it.
I'm slightly wary of your proposal because it 1) adds even more
implicit magic to the language, 2) breaks the current iterator
protocol, 3) is likely to have significant overhead in the loop setup
compared to explicit numeric for loops.
Cheers,
Joonas

AltStyle によって変換されたページ (->オリジナル) /