Re: [DOM4] Remove Node.isSameNode

2011-10-28 Thread Jonas Sicking
On Thu, Sep 15, 2011 at 12:33 AM, Anne van Kesteren ann...@opera.com wrote: On Fri, 09 Sep 2011 19:21:53 +0200, Jonas Sicking jo...@sicking.cc wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. Except

Re: [DOM4] Remove Node.isSameNode

2011-09-16 Thread Erik Arvidsson
I'm also in favor of removing this. This does more harm than good. Unfortunately I found ~200 uses of this in code search. http://www.google.com/codesearch#search/q=%5C.isSameNode%5C(%20lang:javascripttype=cs erik On Thu, Sep 15, 2011 at 00:33, Anne van Kesteren ann...@opera.com wrote:

Re: [DOM4] Remove Node.isSameNode

2011-09-16 Thread Alex Russell
On Fri, Sep 9, 2011 at 6:38 PM, Sean Hogan shogu...@westnet.com.au wrote: On 10/09/11 11:00 AM, Jonas Sicking wrote: On Fri, Sep 9, 2011 at 2:27 PM, Sean Hoganshogu...@westnet.com.au  wrote: On 10/09/11 3:21 AM, Jonas Sicking wrote: It's a completely useless function. It just implements

Re: [DOM4] Remove Node.isSameNode

2011-09-15 Thread Jonas Sicking
On Fri, Sep 9, 2011 at 7:24 PM, Bjoern Hoehrmann derhoe...@gmx.net wrote: * Jonas Sicking wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. It's quite normal for object models to not guarantee that the

Re: [DOM4] Remove Node.isSameNode

2011-09-15 Thread Jonas Sicking
On Fri, Sep 9, 2011 at 8:05 PM, Charles Pritchard ch...@jumis.com wrote: On 9/9/2011 6:02 PM, Jonas Sicking wrote: On Fri, Sep 9, 2011 at 3:42 PM, Charles Pritchardch...@jumis.com  wrote: On Sep 9, 2011, at 2:27 PM, Sean Hoganshogu...@westnet.com.au  wrote: On 10/09/11 3:21 AM, Jonas

Re: [DOM4] Remove Node.isSameNode

2011-09-15 Thread Anne van Kesteren
On Fri, 09 Sep 2011 19:21:53 +0200, Jonas Sicking jo...@sicking.cc wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. Except Brainfuck [1]. But the DOM isn't implementable in Brainfuck anyway as it

[DOM4] Remove Node.isSameNode

2011-09-09 Thread Jonas Sicking
It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. Except Brainfuck [1]. But the DOM isn't implementable in Brainfuck anyway as it doesn't have objects, so I'm ok with that. [1]

Re: [DOM4] Remove Node.isSameNode

2011-09-09 Thread Sean Hogan
On 10/09/11 3:21 AM, Jonas Sicking wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. Except Brainfuck [1]. But the DOM isn't implementable in Brainfuck anyway as it doesn't have objects, so I'm ok with

Re: [DOM4] Remove Node.isSameNode

2011-09-09 Thread Charles Pritchard
On Sep 9, 2011, at 2:27 PM, Sean Hogan shogu...@westnet.com.au wrote: On 10/09/11 3:21 AM, Jonas Sicking wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. Except Brainfuck [1]. But the DOM isn't

Re: [DOM4] Remove Node.isSameNode

2011-09-09 Thread Jonas Sicking
On Fri, Sep 9, 2011 at 3:42 PM, Charles Pritchard ch...@jumis.com wrote: On Sep 9, 2011, at 2:27 PM, Sean Hogan shogu...@westnet.com.au wrote: On 10/09/11 3:21 AM, Jonas Sicking wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have

Re: [DOM4] Remove Node.isSameNode

2011-09-09 Thread Sean Hogan
On 10/09/11 11:00 AM, Jonas Sicking wrote: On Fri, Sep 9, 2011 at 2:27 PM, Sean Hoganshogu...@westnet.com.au wrote: On 10/09/11 3:21 AM, Jonas Sicking wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator

Re: [DOM4] Remove Node.isSameNode

2011-09-09 Thread Bjoern Hoehrmann
* Jonas Sicking wrote: It's a completely useless function. It just implements the equality operator. I believe most languages have a equality operator already. It's quite normal for object models to not guarantee that the equality operator works for object identity comparison, COM being a prime

Re: [DOM4] Remove Node.isSameNode

2011-09-09 Thread Charles Pritchard
On 9/9/2011 6:02 PM, Jonas Sicking wrote: On Fri, Sep 9, 2011 at 3:42 PM, Charles Pritchardch...@jumis.com wrote: On Sep 9, 2011, at 2:27 PM, Sean Hoganshogu...@westnet.com.au wrote: On 10/09/11 3:21 AM, Jonas Sicking wrote: It's a completely useless function. It just implements the