Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Argument starter - The roots of all evil
Message
De
08/09/2004 12:19:20
 
 
À
08/09/2004 10:22:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00938079
Message ID:
00940323
Vues:
46
Cetin

>>>...but I simply can't understand how a VFP coder can live w/o EXIT and multiple RETURNs provided cares for performance (not only VFP really).

>>Cetin
>>NAAJIIYW
>>I can't see how a developer can live with himself with multiple returns! :-)
>I couldn't understand the first sentence - do you mean you can live w/o multiple RETURNs? For slower code why not, it's acceptable and is a matter of developer style.

My little joke. You said "but I simply can't understand how a VFP coder can live w/o EXIT and multiple RETURNs" and I retorted that (as it's such a heinous crime, like knocking a kid down with your car ;-)), "How could you live with yourself...?" It's idiomatic English meaning that your conscience would be troubling you :).

>Terry,
>Small code snippets are never < g > enough to show that you need or not need at all.
>If 'Meat' is long enough and already contains many levels of other if..endif,do..enddo and alike would be more readable w/o a LOOP?
>Wouldn't then I need to check the code down to endscan matching ENDIF carefully to that starting IF to see under that conditon is not met it's simply advancing next?
>LOOP answers the readability part.
>Cetin

Again, I try to keep my code to no more than an A4 piece of paper so a) It can all be followed on 1 screen, b) If printed out it's all on 1 piece of paper. When it gets too big I factor out to procs and funcs. So no readability problems.

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform