Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance using m.Dot
Message
 
À
14/04/2004 10:05:24
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00894735
Message ID:
00894835
Vues:
17
>>Since we are unable to search for strings with less than 3 characters could someone give me some references or information on the advantages/disadvantages in using m. with variable names as opposed to not using it? I think I've heard discussions regarding performance, but couldn't locate any. Our manager wants to elimiate all notation on variables - and in some ways I agree with regards to readability - but he would like to remove the m. convention as well. We believe that there may be issues related to this and it's been put upon me to find out what the deal is.
>>
>>UPDATE: I have no idea why I wasn't given a notice that there was a problem with the title of this thread - it just truncated it instead of asking me to fix it - but it should have read along the lines of PERFORMANE USING M DOT. Could someone from UT please fix this?
>
>I forgot to mention one thing. Another convention that he believes would resolve any conflicts between non-notated variables and field names is simply by adding the table alias to all field references. This sounds reasonable, but again I haven't found any good discussion on this point.

On the other hand, the possible confusion between object.property and alias.field names could be used for testing purposes. I used this several times myself in testing by subsituting non-existent object with the fake table having the same name/fields as the object/properties and vice versa.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform