On Mar 08, 2006, at 3:31 PM, Guyren Howe wrote:
Events seem clearly better than Method Overriding to me: the
relationship between superclass and subclass is much clearer and
self-documented, and you're much less likely to need to change all the
subclasses in order to implement a change in the superclass.
Events are clearer once you know how to use them.
To someone new to the environment they can be very obtuse and not
similar to anything they've used before especially if they have a C++
background.
I'll agree that you are more unlikely to need to change all the
subclasses which is, in mind, a significant advantage,
Can you offer an example of an advantage to method overriding that
outweighs these advantages, or a more common and complex use of method
overriding than return type covariance?
Actually I don't need to provide an example of my preference for how to
achieve this.
Your opening statement said all I needed to know "Events seem clearly
better than Method Overriding TO ME" (my emphasis)
To you.
That may be your style. Apparently not Joe's or he would not be
complaining about it.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>