Re: ... as an lvalue
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: ... as an lvalue
- From: David Given <dg@...>
- Date: 2008年6月17日 17:42:00 +0100
Hisham wrote:
[...]
Indeed, this very thread's subject line says a lot about the
readability of '...' as an lvalue. :-)
A while back there was quite a long discussion with someone about how to
write varargs functions; eventually we realised that the reason why he
couldn't get anything to work was that he thought that when we said
'function foo(a, ...)', that was just example code, and that he was
supposed to fill in the ... with something.
While I like Lua a lot, I will admit that some of the syntax choices are
possibly not *entirely* clear!
--
David Given
dg@cowlark.com