One method of writing multi-word
identifier names in
computer languages that
tokenize on
whitespace. For example, a variable called "
my favorite variable" could be written
myFavoriteVariable (
lower camel case)
MyFavoriteVariable (
upper camel case)
my_favorite_variable (
underscored)
my-favorite-variable (
dashed)
MY_FAVORITE_VARIABLE (
all caps)
myfvvbl (some people would actually use this one)
Much has been argued over
whose style is better.
C programs historically use underscored identifiers, while
Java programs typically use lower camel case for identifiers and upper camel case for
classnames. YACSFW (yet another coding style flamewar)