|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: DOM's javascript roots (was Re: Have JDOM / XOM
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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








