Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strong typing in visual foxpro
Message
From
14/09/2005 13:12:46
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01049322
Message ID:
01049547
Views:
23
>>>How about using only one return statement in the function/procedure? I know, it's could be very difficult...
>>
>>My preference is like Frank's. Multiple returns is good:)
>>Cetin
>
>Read his reply in the thread <g> I use this myself, but always with a slight feeling of guilt...

You should have absolutely NO GUILT about using multiple returns.

It remains my conviction that this "axiom" of programming was introduced when languages offered BRANCH and GO statements.
VFP has none of this stuff (GO is not to code in VFP) so that axiom does not apply. Period.
Previous
Reply
Map
View

Click here to load this message in the networking platform