Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP advantages over .NET
Message
From
12/08/2016 08:57:18
 
 
To
01/08/2016 12:37:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01638709
Message ID:
01639418
Views:
93
>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#.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform