Add variable conventions to style guide

This commit is contained in:
Jordan Bancino 2022-07-27 23:11:48 -04:00
parent a658aef550
commit 335e35a99c

View file

@ -468,8 +468,8 @@ If—after you've reached out to
<code>#telodendria-general:bancino.net</code>&mdash;it has been <code>#telodendria-general:bancino.net</code>&mdash;it has been
determined that there is a problem with <b>Telodendria</b>, it should determined that there is a problem with <b>Telodendria</b>, it should
be reported to <code>#telodendria-issues:bancino.net</code>. There it be reported to <code>#telodendria-issues:bancino.net</code>. There it
can be discussed further. The issues channel serves as the official can be discussed further. The issues room serves as the official
issue tracker of <b>Telodendria</b>; although severe issues may be copied issue tracker of <b>Telodendria</b>; although severe issues may be copied
into a <code>TODO</code> file in the CVS repository just so they into a <code>TODO</code> file in the CVS repository just so they
don't get lost. don't get lost.
</p> </p>
@ -521,6 +521,10 @@ All function, enumeration, structure, and header names are
because it is more compact. because it is more compact.
</li> </li>
<li> <li>
All variable names are <code>lowerCamelCase</code>. This is preferred
to <code>snake_case</code> because it is more compact.
</li>
<li>
<code>enum</code>s and <code>struct</code>s are always <code>enum</code>s and <code>struct</code>s are always
<code>typedef</code>-ed to their same name. The <code>typedef</code> <code>typedef</code>-ed to their same name. The <code>typedef</code>
occurs in the public API header, and the actual declaration occurs in occurs in the public API header, and the actual declaration occurs in