Thread: your style?
View Single Post
Old 01-13-2005, 01:57 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
you forgot about PascalCase

it really depends on what language i'm coding in. i used to only use one standard, but now it depends on the language i use. i try to conform to the standards of that language.

for example, on php.net, you will always see them using lowercase: $my_name

in java, you will see variable names in cammel case, and then Class names in pascal case. example: String myName = "Mike";

this helps tremendously when more than one person might be working on a project, or if you are modifying an existing application, or someone might modify your program in the future.
__________________
Mike
sde is offline   Reply With Quote