Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Overriding
Message
De
10/05/2007 13:55:06
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
10/05/2007 13:53:15
Takashi Koyama
National Indemnity Company
Omaha, Nebraska, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MS SQL Server
Divers
Thread ID:
01223779
Message ID:
01224296
Vues:
15
>I agree with you on MustOverride.
>It's like creating an interface or an abstract class in Java, the derived class must override the method.
>
>I'd like to stree that the inheritance contributes the power of the object oriented programming.
>Therefore, all the method must be overridable. We do not have to say it. If we cannot override method freely, what's the purpose of using the OO language.
>That's why, the keyword overridable and overrides are redundant to me and the fact that we cannot override methods without them defeats the purpose of the OO programming in my mind.

I could be wrong, but I think by default all classes are overridable without specifying the keyword.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform