lua-users home
lua-l archive

Re: select("#", ...) idiom

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


On Sep 14, 2005, at 18:52, Lucas Ackerman wrote:
I dislike the suddenly-popular select( "#", ... ) idiom
I doubt it's popular. But it seems to be the only way to fully enumerate a vararg. Sigh...
because it is
uninformative (no selection is made), complicates select with unrelated
behavior, and misappropriates the # symbol.
Amen to that :)
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/

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