Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Design Question
Message
De
09/07/2004 13:33:17
 
 
À
09/07/2004 13:11:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00922575
Message ID:
00922595
Vues:
17
>
>The reason for adding the method to the parent isn't just the convenience of having it there, but the notion that if both children need it, it must logically belong to the parent.
>

Tamar,

In .NET, every class inherits from System.Object. Obviously, the System.Object class does not contain stubs for every method in each class that inherits from it. From a desing standpoint, how is this situation different?

I guess I'm going under the premise that there might be a third child someday that may not need that method....
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform