Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Overriding
Message
De
10/05/2007 13:57:24
Takashi Koyama
National Indemnity Company
Omaha, Nebraska, États-Unis
 
 
À
09/05/2007 13:41:36
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:
01224299
Vues:
8
I agree with you on your point.

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.

Only when we don't want a programmers to inherit methods, then putting 'Final' keyword to stop make sense. VB.NET makes all the methods 'Final' without overridable and overrides. Just as mention, VB.NET makes us talk too much!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform