|
-
Sep 14th, 2001, 07:32 AM
#1
Thread Starter
PowerPoster
Naming Conventions...
Can anyone direct me to some good sites that deal with organizing and naming not only variables but also how to design a good naming schema for forms, modules, COMs, StoredProcs?
Thanks
-
Sep 14th, 2001, 07:45 AM
#2
-= B u g S l a y e r =-
-
Sep 14th, 2001, 09:55 AM
#3
I personally don't like 1 letter prefixes. On that site variable naing convention is using single letter prefix except byte, float, single, double. object etc.
That's why I use 3 letter prefixes all the time.
For the scope that site uses g and m (global and module) which is the same thing I use. I also have a prefix p for the parameter.
So if you look at my code on this site you will see that I'm pretty consistent with the naming convention.
Good luck.
-
Sep 14th, 2001, 11:12 AM
#4
Thread Starter
PowerPoster
Serge, the problem I often run into is as the project develops I get backed into a corner with the naming of like my stored procs.
-
Sep 14th, 2001, 11:59 AM
#5
Frenzied Member
I have a brief listing of naming conventions on my webpage .
Basically, ..... use 1 letter for variables, and 3 for objects.
~Peter

-
Sep 14th, 2001, 12:09 PM
#6
With stored procs I usually use lp_StoreProcName
lp indicates a local procedure.
The reason why I dont use "sp_" as many people do is because sp_ is being used by system stored procs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|