Camel case and snake case: Difference between revisions

m
typo
mNo edit summary
m (typo)
Line 4:
'''Camel Case'''.
 
'''Snake case''' variables are generally all lower case, with an underscore between words in the variable, as in '''snake_case_variable''''. '''Camel case''' variables are generally lower case first (except in some Pascal conventions or with class names in many other languages), with ancaptalization underscoreof betweenthe initial letter of the words inwithin the variable, as in ''''snakeCaseVariable''''.
 
Leading underscores are not used in such variables except as part of a different naming convention, usually for special internal or system variables. White space is not permitted as part of camel case or snake case variable names.
4,105

edits