Re: currentTarget / observer

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 UTC