On Mar 8, 2006, at 5:23 PM, Norman Palardy wrote:
On Mar 08, 2006, at 2:41 PM, Guyren Howe wrote:
On Mar 8, 2006, at 3:47 PM, Joseph J. Strout wrote:
This issue is probably my #1 time-waster and error-maker in REALbasic, and fixing it would be a great boon to my productivity.

If you're using Events for your class extension, this problem doesn't arise.

Events are the preferred means of class extension.

Perhaps your preferred means; but this is certainly not everyone's preferred method.

I've seen this issue Joe refers to, but wasn't quite sure what was going on. Now I understand.

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.

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?

Guyren G Howe
guyren-at-relevantlogic.com
http://relevantlogic.com

REALbasic, PHP, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training


_______________________________________________
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>

Reply via email to