W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: Web IDL syntax

From: Robin Berjon <robin@berjon.com>
Date: Tue, 23 Jun 2009 09:58:58 +0200
Cc: Ian Hickson <ian@hixie.ch>, Cameron McCormack <cam@mcc.id.au>, public-webapps@w3.org
Message-Id: <5D02735C-A522-465B-B7F2-DF4542B7ABA1@berjon.com>
To: Shiki Okasaka <shiki@google.com>
On Jun 23, 2009, at 05:41 , Shiki Okasaka wrote:
>>> If we are breaking syntax, then it seems more compelling to make
>>> “DOMString” be “string”.
>>>
>>> Maybe we could drop the “in” keyword.  Seems better to stick with
>>> plain “in” arguments, for compatibility across language bindings,
>>> than to also allow “out” and “inout” ones.
>>
>> I'd vote for not changing these, because we already have a lot of  
>> IDL out
>> there and it would be a pain to fix it all.
>
> Can we make "in" optional so that new interfaces can be defined
> without using "in"? It seems very easy to forget to specify "in" for
> each parameter in Web IDL.

I like that option, the ability to not use "in" would be really nice  
to have.

-- 
Robin Berjon - http://berjon.com/
     Feel like hiring me? Go to http://robineko.com/
Received on Tuesday, 23 June 2009 07:59:26 GMT

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