>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement