Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Command
Message
From
22/08/2001 08:35:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00546986
Message ID:
00547162
Views:
9
>>- 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.

Actually, no...you can't use a field on the left side. It will always be a variable or property.

>
>>- 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.

See above

>
>>- 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.

How did you conduct your tests? If not set up properly, you will get your results.

>
>IMO it's all a metter of personal preferences.

I believe I said that.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform