Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming conventions again........
Message
From
28/08/1999 13:56:22
 
 
To
28/08/1999 05:07:06
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00258085
Message ID:
00258837
Views:
17
Hey Walter =

>Well I doubt this either (or WalterWorld(great wordpainting) must be rather big). Especially new developers and developers not using naming conventions use this guidelines (Pascal). Although I'm a BA in computer science i've never learned naming conventions at universaty. Even the books (C, C++, Pascal) I used at school didn't mention anything about namingconvertions. I learned it when I learned FoxPro.

Naming conventions are not new to xBase. And not new to Visual C++, Visual Basic, etc. Generally, in school, the languages have restrictions on the size of the varname so clarity of function is more important than type IMHO.

>- Graham Glass, UNIX for Programmers and Users
>- Rober.L. Kruse, Programmeren met data structuren (dutch) translated from:
> Hemel Hempstead, Programming with datastructures
>- Translated version of Kernighan & Ritchie - The C programming language
>- J.J.M. Mesman, Pascal en PSD's (Dutch only)
>- Translated version of Stanley B. Lippman , C++ primer. 2nd ed
>(Only naming conventions are used for pointers and infrequent for types)
>- Doug Bell, Ian morrey, JohnPugh, Software Engineering A Programming approach

None of these are VFP books.


>- MS delivers us sample tables without type prefixes. Why don't we ???
>- MS delevers us properties of objects without type prefixes. Why don't we ?

I won't argue on properties. Or on table fields.

>O.k. But what about a self invented menubutton, made out of a bunch of other controls ?? Do I have to invent another prefix. What about OLE controls ??? Do I have to call them oleTreeview or something ?

That's not a bad question. Your menubutton is more than likely a compound object and is bound into a container of some sort, right? In those cases, I use "con" as the prefix for Container (if it's a container). "frm" if it's a Form.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform