Annotation of loncom/html/adm/help/tex/Variable_Naming_Conventions.tex, revision 1.2
1.2 ! bowersj2 1: \label{Variable_Naming_Conventions}
1.1 bowersj2 2:
3: There are many variable naming conventions, covering both how to name and
4: how to capitalize variables%
5: \footnote{The author favors \texttt{capsOnNewWords}. Some people use \texttt{underscore\_to\_separate\_words}.
6: Many use uppercase letters to specify constants like \texttt{PI} or \texttt{GOLDEN\_MEAN}.
7: Some people always \texttt{StartWithCapatalization}. What's really important
8: is to be consistent, so you don't have to guess whether the variable you're
9: thinking of is \texttt{coefFriction}, \texttt{CoefFriction}, \texttt{COEF\_FRICTION},
10: or something else.%
11: }. It is a good idea to adopt a standard. If you are working with a group,
12: you may wish to discuss it in your group and agree on a convention.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>