Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Method Overloading a good or bad thing?
Message
De
01/07/2004 19:01:40
Anthony Testi
Fabtrol Systems Inc.
Eugene, Oregon, États-Unis
 
 
À
01/07/2004 18:48:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00919869
Message ID:
00919920
Vues:
17
What about the situation where 90% of the code in the 2+ methods are the same? Now we have code duplication. A solution may be for each of the overloaded methods to 'translate' the parameters into some common form and then all of them call the common code method.

Anthony
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform