Information générale
Catégorie:
Programmation Orientée Object
Versions des environnements
Network:
Windows 2003 Server
>Hugo,
>
>You are right! But, that requires more foresight that I had.
>
>I try to do this, but inevitably, I end up where I want to create a new class by modifying an existing class.
>
Jim - when that happens, step back and figure out whether what you really need is a common parent class for the two classes. It's not that hard to insert another class one step up in the hierarchy and then have two subclasses. I do think a fair as requirements are discovered or changed.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement