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

"Ian Hickson" <ian@hixie.ch>
> 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.

I agree with this completely, there's no reason other than less work and 
less chance of an error to just have one, given that people have problems 
with the expressability of one, have 7!

Jim. 

Received on Sunday, 9 April 2006 22:42:41 UTC