Re: an idea for replacing arguments.length

Allen Wirfs-Brock wrote:
> Also, I would outlaw (new) overloads like
> Document:
>   TouchList createTouchList(Touch... touches);
>   TouchList createTouchList(sequence<Touch>  touches);

Yeah, why are *new* (this is from Web Events, not legacy) APIs doing the 
crazy. Answer: because people imitate older crazy APIs, and WebIDL 
supports this.


Received on Tuesday, 12 November 2013 16:24:30 UTC