W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2013

Re: an idea for replacing arguments.length

From: Brendan Eich <brendan@mozilla.com>
Date: Tue, 12 Nov 2013 08:24:02 -0800
Message-ID: <52825622.3090901@mozilla.com>
To: Allen Wirfs-Brock <allen@wirfs-brock.com>
CC: Boris Zbarsky <bzbarsky@MIT.EDU>, "public-script-coord@w3.org" <public-script-coord@w3.org>, es-discuss@mozilla.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:19 UTC