Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class vs Prg
Message
De
11/04/2002 11:15:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00639155
Message ID:
00643770
Vues:
17
>>That's right Terry - Polymorphism and inheritance are your friends!
>>Don't forget about encapsulation, too!!!
>>Your neck will continue twitching, I'm sure :)
>>mondo regards [Bill]
>
>"Encapsulation", Ouch!

The way I understand it, encapsulation simply means that objects are tightly coupled to their properties / methods.

In the old times, with functions, you could pass any "object" (variable or array that represented something in your system) to a UDF.

With a syntax ThisForm.DoSomeMethod(), DoSomeMethod() can only refer to ThisForm.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform