Re: ISSUE-72: should XMLHttpRequest be an EventTarget?

On Sun, 9 Apr 2006, Jonas Sicking wrote:
> 
> So what type should we put in the IDL that works for both ECMAScript and 
> Java? (or do you have a link to where someone already explained it?)

Have you considered having two different IDLs?

Each language should have the API that makes the most sense for that 
language. If that means accepting Function objects in JS and delegates in 
C# and interfaces in Java, then so be it. We don't have to artificially 
limit what the spec says just because we insist on using an inexpressive 
formal language.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 9 April 2006 22:15:37 UTC