Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why cannot use & with Thisform.SomeProperty
Message
 
 
À
12/05/2009 17:23:35
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01397844
Message ID:
01399496
Vues:
105
Mike,

>Honestly the m. doesn't interfere with readability in the least.

In your eyes it doesn't, in mine it obfuscates the code, we'll just have to agree to disagree on the point.

>I've done SQL commands against million plus record tables where the use of m. made noticeable differences.

Where it makes a perceivable difference in performance to the end-user m. should be employed.

In a loop like this it's useless (IMHO)
...
ldBase = date() - 1
for i = 1 to 7
   laDOWCache[i] = cdow( ldBase + i )
endfor
...
I don't spend 100% of my time in VFP so I prefer to keep as much of my code visually consistent across all the languages I use.

I also obsess on performance. Primarily on the enduser experience performance and secondarily on developer performance. If you consume an hour of development time to wring out 0.001 seconds of execution time improvement the enduser has to perform that operation 3.6 million times before it pays back the company the added development cost. Which equates to the old adage, penny wise and pound foolish.

Feel free to type mdots all day long, I prefer to only type them when they really make a difference.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform