Naming conventions

Started by
36 comments, last by swiftcoder 19 years, 7 months ago
I have been using hungarion notation for awhile and I cant take it anymore so, what naming conventions do you use and reccomend?
______________________________________________________________________________________With the flesh of a cow.
Advertisement
The monthly naming convention thread.

variableNames
ClassNames
FunctionNames
Not giving is not stealing.
I use exactly the same naming conventions as thedevdan. Btw, don't start prefixing classes with a C, please :)
variable_names
CNames
Function_Names

edit: why no C for class names?
I perfer Java style:
variableName
ClassName
functionName
Quote:Original post by Boder
variable_names
CNames
Function_Names

edit: why no C for class names?


How about this: why should you? [wink]
Not giving is not stealing.
Well I think there should be some way to distinguish classes from user-defined structs and enums. [crying]
Quote:Original post by Boder
Well I think there should be some way to distinguish classes from user-defined structs and enums. [crying]


Why does it matter if classes can be distinguished from structs and enums? In other words, what is gained from it?
Not giving is not stealing.
I forgot to login, I was the anonymous poster
Quote:Original post by Anonymous Poster
I forgot to login, I was the anonymous poster


Classic.
Not giving is not stealing.

This topic is closed to new replies.

Advertisement