Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP - VFP : No more than a nice syntaxic enhancement?
Message
 
À
22/08/1996 16:31:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00006423
Message ID:
00006488
Vues:
42
>VFP supports Inheritance,Encapsulation,and Polymorphism that makes
>it a perfectly good OOP tool

I'm sure a lot of us appreciate the certain OOP qualities VFP possesses, but I wouldn't go so far as to give it full credit for OOP support.

For instance, with regard to encapsulation, I think VFP could have benefitted from some kind of 'private/public' property mechanism. It DOES get confusing when you sometimes set an object's properties at design-time or programmatically, only to find out this was supposed to be an 'internal' aka 'private' property that get's totally overwritten by the object's internal code. Similarly, how do we protect our internal properties from user modification? How come there are public/private variables with respect to functions and procedures, but not to objects?

[continued...]
alistair israel
Distressed DBA, Sleepy SysAd, Weary WebMaster (aka Senior Software Engineer)
aisrael@poboxes.com
Makati City, Philippines
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform