Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming conventions again........
Message
De
27/08/1999 15:12:05
 
 
À
27/08/1999 15:01:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00258085
Message ID:
00258602
Vues:
18
Hiya JohnK,

First, txtLastName works, but what about txtQuantity? Is that text in a textbox or is that a number???

Also, what about THISFORM.MainPageFrame.ClientPage.LastName.Value???

Seems equally informative and, I contend, more readable (for instance, PagClientPage has redundancy which *can* irritate).

Cheers (and how did you like Vancouver?),

Jim N



>Walter ---
>
>Naming conventions are as critical to code as syntax is to a written human language. Now, I would agree with you that scoping prefixes, sometimes, can be left out. What about object naming conventions? You left those out and those are even more critical to the contemporary VFP application. What tells you more in code:
>
>THISFORM.Main.ClientPage.Lastname.Value --- or ----
>THISFORM.pgfMain.pagClientPage.txtLastName.Value
>
>?
>
>For a great reference on this, look at the StandardNamingConventions discussion page at foxwiki.com.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform