Information générale
Catégorie:
Codage, syntaxe et commandes
SNIP
>
>John,
>
>First of all, I don't consider myself an "expert". Rather I simply believe that if there's a reason that is quantifiable for breaking "the rules", then by all means do so.
>
>OTOH, I think that, in most cases, following the rules demonstrates a long term benefit.
>
>The thing is, in order to follow the rules and to know when to break them requires that the rules, and their purpose, are understood in the first place.
George,
Where is this "rule" that says EXIT/LOOP are WRONG?
EXIT/LOOP, for instance, do NOT qualify for the "single exit point" rule because they are not exiting the module but simply exiting (or redoing) some looping construct.
Jim
Précédent
Suivant
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