Re: Web IDL syntax

On Aug 7, 2009, at 6:23 PM, Cameron McCormack wrote:

> Cameron McCormack:
>>> Iíll think about it. :-)  HTMLAppletElement can always have
>>>
>>>  readonly attribute DOMString _object;
>>>
>>> to avoid conflicting with the reserved word.
>
> Ian Hickson:
>> It's many years too late for that.
>
> The underscore is just an escaping mechanism.  The identifier is still
> just "object" in this case.

Wouldn't that get in the way of the possibility of underscores in  
identifiers in the future? I think it would be simpler to just  
capitalize the Object keyword.

  - Maciej

Received on Saturday, 8 August 2009 02:21:15 UTC