[Home] [By Thread] [By Date] [Recent Entries]
On Mar 31, 2006, at 22:45, Elliotte Harold wrote:
> Robin Berjon wrote:
>> Do you have an example of something in the DOM that hurts Java
>> that was obviously done so that Javascript would work? In the
>> other direction, you don't need to look any further than NodeList
>> (not even counting the liveness).
>
> Of course. No method overloading. Think createElement,
> createElementNS, etc. Java and C++ wouldn;t desing an API like that.
That's a red herring, you can trivially switch on arguments.length. I
think that whatever constraints that brought them to do this were
different. I'm not the OMG IDL specialist but could the overloading
issues come from there? It has quite a few dragons that have bitten
me in the past, notably concerning case-sensitivity.
--
Robin Berjon
Senior Research Scientist
Expway, http://expway.com/
|

Cart



