W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: Comments on some Web IDL extended attribute names

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 03 Oct 2008 05:28:35 -0700
To: Anne van Kesteren <annevk@opera.com>
Cc: "public-webapps@w3.org Group WG" <public-webapps@w3.org>
Message-id: <767D4CE8-E2BF-467F-B794-71E63D61068B@apple.com>


On Oct 3, 2008, at 2:58 AM, Anne van Kesteren wrote:

>
> On Fri, 03 Oct 2008 05:40:26 +0200, Maciej Stachowiak  
> <mjs@apple.com> wrote:
>> I think [Variadic] should be renamed [Optional]. A function may be  
>> variadic, but a parameter is optional, and this goes on the  
>> parameter.
>
> To me [Optional] does not really convey zero or more arguments very  
> well.

I see, I misunderstood what [Variadic] does. I think [Optional] would  
be a useful addition for functions that have a fixed number of  
optional arguments. Unless Web IDL has some way to represent that  
which I missed.

Regards,
Maciej
Received on Friday, 3 October 2008 12:29:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT