Otherwise, if the language does not support hyphens in identifiers (such as C, Python, and Java), the identifier falls back to standard <RT-code>snake_case</RT-code> and only the underscore (<RT-code>_</RT-code>) is used for all separation. In C specifically, a center dot (<RT-code>ยท</RT-code>) is used for ad hoc namespaces.
</p>
- <h2>Suffix Semantics</h2>
- <p>Add a container type suffix instead of making variable names plural. Never use plurals.</p>
- <ul>
- <li><RT-code>*_dp</RT-code> : directory path</li>
- <li><RT-code>*_fp</RT-code> : file path</li>
- <li><RT-code>*_list</RT-code> : generic ordered items</li>
- <li><RT-code>*_count</RT-code> : number of elements</li>
- </ul>
-
<h1>Comma Separated Lists</h1>
<h2>Horizontal Comma List</h2>
Hence, with the default makefile for C, compiler fodder is found in the <RT-code>authored/</RT-code> directory. File name extensions are used to signal to the build tools how the file is to be processed:
</p>
<ul>
- <li><RT-code>.cli.c</RT-code> : Fodder made into a stand-alone executable.</li>
+ <li><RT-code>.cli.c</RT-code> : Compiler fodder made into a stand-alone executable.</li>
<li><RT-code>.lib.c</RT-code> : Library code source, compiled as an object file and added to the project archive.</li>
<li><RT-code>.mod.c</RT-code> : Kernel module sources.</li>
</ul>