Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
08/07/1998 21:57:44
 
 
À
08/07/1998 20:02:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115558
Vues:
15
>>One, and only one, exit point (at the end of the module) for procedures and functions. There are, of course, exceptions, but it must be for a quantifiable reason.
>>
>>The use of the EXIT and LOOP keywords is prohibitted. I think that these are the xBase equivalent of GOTO.
>
>You have my vote. Only that I accept EXIT and LOOP for VERY good reasons. Similar to GOTOs: GOTO is acceptable when really justified (usually, performance or readability).
>
you know what they say - never say never :)
I defenitly agree that this is a good rule of thumb

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform