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:
00151627
Vues:
24
>Jim,
>
>>On an extremely simple basis, you can have a business object that has 30 properties that are part of the interface or you can have one that has 2 methods. When you compare 30 with 2, which interface is simpler?
>
>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.

Which is exactly why I used that example, to show that complexity is an issue of subjective as much as objective considerations. It is also why I didn't answer my own question :-).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform