Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Command
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00546986
Message ID:
00547270
Vues:
8
>>
>>For the sake of those lurking:
>>
>>- In this case, fields and variables can't be confused because you can't use fields on the left side of an assignment =.
>
>Readability decrases because the same name could be a variable or a field depending on wich site of assigment it is.
>
>>- Readability gets more difficult (IMO) because there are more characters for the brain to interpret
>
>Reability increases because m. prefix tells the brain right away that its a variable not a field and vise versa.
>
>>- The "tiny increase" could get very large inside a loop. I've timed the differences to be three times slower.
>
>I just run a test: 1,000,000 itterations on AMD 1.3Ghz: With m. .590 sec, w/o .571. The difference is realle negligible.
>
>IMO it's all a metter of personal preferences.
a matter :)

Yes, I agree, though I never use m. at the left side of =.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform