Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One exit per procedure/function/codeblock to what purpos
Message
De
06/10/2003 19:21:27
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00835552
Message ID:
00835579
Vues:
30
Hi Evan

That sounds like a really bad example of someone not following any rules. In fact, I think your example doesn't count against having multiple exit points, because it wasn't an example of doing that properly.

I'm working with a piece of code that is actually two copies of an entire application, even though there are common modules between the two apps. They often used the one exit per and it is an example of how hard it is to follow that way.

I'll try to show you examples from it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform