W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2011

Re: currentTarget / observer

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 07 Jan 2011 14:16:13 +0100
To: "Gerd Wagner" <wagnerg@tu-cottbus.de>
Cc: www-dom@w3.org
Message-ID: <op.voxwha1k64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 07 Jan 2011 13:44:30 +0100, Gerd Wagner <wagnerg@tu-cottbus.de>  
wrote:
>>> What about replacing the misnomer "currentTarget" by "observer" in the
>>> Event interface?
>>
>> We cannot break compatibility.
>
> I understand this requirement, but does it imply that we have to live
> with bad choices made in the past (going on to create misunderstanding
> costs) forever?

Yes. Though really this is not that bad.


> One possible approach would be introducing "observer" and declaring
> "currentTarget" as deprecated.

That just introduces the possibility for more issues.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 7 January 2011 13:16:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT