Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional parameters and how to deal with them
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00790865
Message ID:
00791321
Views:
34
I don't agree that the VFP way is better. Overloading is not only good for optional parameter, it also handle different data type being passed the function. In VFP, we check VARTYPE() and/or PARAMETER() to decide what to do but in turn making the code harder to read and slower execution.
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform