Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming conventions again........
Message
From
27/08/1999 15:12:05
 
 
To
27/08/1999 15:01:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00258085
Message ID:
00258602
Views:
17
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform