Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access and Assign vs. OOSE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00149911
Message ID:
00151655
Vues:
26
>
>One could argue though that even though there are only 2 publicly named items in the interface with a Get/SetFieldVal method approach, there are 32 "logical" named interface items, after all you have to pass the 30 field names as an argument to the method. So I'd say the interface complexity is still the same.

David,

One could also argue that the interface has only two items and that the complexity is in the business problem being addressed by the interface. In this argument the interface is very simple and for simple problems the whole thing will remain simple, however with complex problems the problem, and not the itnerface, becomes complex. In this argument the result is that a simple interface works for both simple and complex problems while using properties gives a complex problem a complex interface while a simple problem has a simple interface.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform