Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One exit per procedure/function/codeblock to what purpos
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00835552
Message ID:
00836275
Vues:
11
>Hi Peter,
>
>SET SNIP ON
>>While I sympathize with you, I have to disagree IF you imply that a single exit point ALWAYS gives more readable code.<
>SET SNIP OFF
>
>I didn't intend to imply that. Please see my responses to Jim N, Houston B and Mike Y in this thread -- I believe those should further clarify my statments.

Hi Evan,

SET PINS ON && reverse of SNIP
>I ***ABSOLUTELY SUBSCRIBE*** to the "one exit point" approach, and *ALL* my code follows this.
SET PINS OFF

From your later posts I know that you allow exceptions. But your initial statement was so pure, and that's good for the discussion. :)
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform