Re: Comments on some Web IDL extended attribute names

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 UTC