This commit is contained in:
Nilstrieb 2022-07-27 20:27:04 +00:00
parent 250448b13c
commit 47144e77d1
4 changed files with 22 additions and 2 deletions

View file

@ -151,6 +151,16 @@
you can use it freely in your program.</p>
<h2 id="includes"><a class="header" href="#includes">Includes</a></h2>
<p><code>#include</code> directives shall be placed at the start of the file. But usually, it's better to not use the preprocessor at all. Paste the code in by hand so that it is clearly visible in version control.</p>
<h2 id="identifers"><a class="header" href="#identifers">Identifers</a></h2>
<p>All identifiers should be given meaningful english names. To work with ancient linkers, function names should contain six characters at most.</p>
<h2 id="comments"><a class="header" href="#comments">Comments</a></h2>
<p>Comments are vital to readability. Therefore, code should always be well comment. Comments must be written in the lingua franca of programming, swiss german.</p>
<pre><code class="language-c">int main() {
int five = 5; // füüf
printf(&quot;Your number: %d&quot;, five); // äm benutzer füüf usgee
}
</code></pre>
</main>

View file

@ -179,6 +179,16 @@ body cannot fit into a single line, make a new function instead.</p>
you can use it freely in your program.</p>
<h2 id="includes"><a class="header" href="#includes">Includes</a></h2>
<p><code>#include</code> directives shall be placed at the start of the file. But usually, it's better to not use the preprocessor at all. Paste the code in by hand so that it is clearly visible in version control.</p>
<h2 id="identifers"><a class="header" href="#identifers">Identifers</a></h2>
<p>All identifiers should be given meaningful english names. To work with ancient linkers, function names should contain six characters at most.</p>
<h2 id="comments"><a class="header" href="#comments">Comments</a></h2>
<p>Comments are vital to readability. Therefore, code should always be well comment. Comments must be written in the lingua franca of programming, swiss german.</p>
<pre><code class="language-c">int main() {
int five = 5; // füüf
printf(&quot;Your number: %d&quot;, five); // äm benutzer füüf usgee
}
</code></pre>
</main>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long