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