Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If inheritance is a prime reason for OOP, then why...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00171748
Message ID:
00171945
Vues:
31
>Hi Jack,
>
>While I've experience in a number of other languages, VFP is the only OOP model I've dealt with. Personally, I think that intuitive is strictly a matter of experience. Coming from a VFP, rather than Delphi or some other OOP implimentation, background, the way VFP works is, to me, intuitive. Admittedly, I have, like I'm sure other have, made the mistake of forgetting about underlying methods. In order to combat this, parent classes contain information regarding what methods contain code in the comment property. Since the comment appears when the object is sub-classed, all I have to do is check the comment for what methods have code. Therefore, if I override it, I should be aware of what I'm doing.
>
>Happy New Year.

Thanks for the idea. Another good habit to instill not only in myself but also my staff...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform