Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strong typing in visual foxpro
Message
De
14/09/2005 13:12:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01049322
Message ID:
01049547
Vues:
22
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform