Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and SQL at the same time
Message
De
15/01/2019 07:27:29
 
 
À
15/01/2019 06:44:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01664796
Message ID:
01665430
Vues:
65
>>Why use classes? Procedural code gets the job done, right?
>
>Classes are for when there's data that must travel with the code. No point using a class for a bunch of functions that don't share data.

Disagree. Polymorphism, inheritance, hidden/protected functions, all unrelated to stored data within the class.

There are many reasons to use classes. Many capabilities there which are exposed. Not all of them are desirable all of the time.

"Not everyone is from Boston, John!"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform