This commit is contained in:
Nilstrieb 2022-07-28 08:56:45 +00:00
parent d9bb479139
commit 492783020c
5 changed files with 8 additions and 8 deletions

View file

@ -152,14 +152,14 @@ and therefore readability comes before writability.</p>
body cannot fit into a single line, make a new function instead.</p>
<pre><code class="language-c"> #include&lt;stdio.h&gt;
void foo_if_body() {
void if_bdy() {
printf(&quot;Hello, &quot;);
printf(&quot;World!&quot;);
}
void foo() {
if (true)
foo_if_body();
if_bdy();
else
printf(&quot;True was false!&quot;);
}

View file

@ -152,14 +152,14 @@ and therefore readability comes before writability.</p>
body cannot fit into a single line, make a new function instead.</p>
<pre><code class="language-c"> #include&lt;stdio.h&gt;
void foo_if_body() {
void if_bdy() {
printf(&quot;Hello, &quot;);
printf(&quot;World!&quot;);
}
void foo() {
if (true)
foo_if_body();
if_bdy();
else
printf(&quot;True was false!&quot;);
}

View file

@ -153,14 +153,14 @@ and therefore readability comes before writability.</p>
body cannot fit into a single line, make a new function instead.</p>
<pre><code class="language-c"> #include&lt;stdio.h&gt;
void foo_if_body() {
void if_bdy() {
printf(&quot;Hello, &quot;);
printf(&quot;World!&quot;);
}
void foo() {
if (true)
foo_if_body();
if_bdy();
else
printf(&quot;True was false!&quot;);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long