Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP advantages over .NET
Message
De
13/08/2016 16:04:36
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
12/08/2016 08:57:18
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Divers
Thread ID:
01638709
Message ID:
01639435
Vues:
95
>>What I had in mind is the situation where, for example, http://beginnersbook.com/2013/03/polymorphism-in-java/ defines overloading of methods just as something you have to do in a typed language - a different version of a method for each applicable set of parameter types.
>
>Actually, that overloading pattern sometimes makes code clearer, as the parameter checking for different method signatures in vfp or JS will get hairy if many cases have to be considered and put the method length above the 2 screens I consider maximum. Breaking out core functionality with some addendum added to the function name is my typical refactoring scheme, and that will often mimic the pattern found in overloading patterns found in Java or C#.

Now VFP being written in c++, I wonder how many internal versions of the between() function does it contain?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform