gh-pages
simonsan 2 years ago
parent 11f4c16983
commit f5ff4bb3c6

@ -139,13 +139,13 @@
<main>
<h1 id="idioms"><a class="header" href="#idioms">Idioms</a></h1>
<p><a href="https://en.wikipedia.org/wiki/Programming_idiom">Idioms</a> are commonly used
styles and patterns largely agreed upon by a community. They are guidelines.
Writing idiomatic code allows other developers to understand what is happening
because they are familiar with the form that it has.</p>
<p>The computer understands the machine code that is generated by the compiler.
The language is therefore mostly beneficial to the developer.
So, since we have this abstraction layer, why not put it to good use and make
it simple?</p>
styles, guidelines and patterns largely agreed upon by a community.
Writing idiomatic code allows other developers to understand better what is
happening.</p>
<p>After all, the computer only cares about the machine code that is generated
by the compiler.
Instead, the source code is mainly beneficial to the developer.
So, since we have this abstraction layer, why not make it more readable?</p>
<p>Remember the <a href="https://en.wikipedia.org/wiki/KISS_principle">KISS principle</a>:
&quot;Keep It Simple, Stupid&quot;. It claims that &quot;most systems work best if they are
kept simple rather than made complicated; therefore, simplicity should be a key

@ -179,13 +179,13 @@ borrow checker</p>
<a href="https://github.com/rust-unofficial/patterns">main repository</a>.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="idioms"><a class="header" href="#idioms">Idioms</a></h1>
<p><a href="https://en.wikipedia.org/wiki/Programming_idiom">Idioms</a> are commonly used
styles and patterns largely agreed upon by a community. They are guidelines.
Writing idiomatic code allows other developers to understand what is happening
because they are familiar with the form that it has.</p>
<p>The computer understands the machine code that is generated by the compiler.
The language is therefore mostly beneficial to the developer.
So, since we have this abstraction layer, why not put it to good use and make
it simple?</p>
styles, guidelines and patterns largely agreed upon by a community.
Writing idiomatic code allows other developers to understand better what is
happening.</p>
<p>After all, the computer only cares about the machine code that is generated
by the compiler.
Instead, the source code is mainly beneficial to the developer.
So, since we have this abstraction layer, why not make it more readable?</p>
<p>Remember the <a href="https://en.wikipedia.org/wiki/KISS_principle">KISS principle</a>:
&quot;Keep It Simple, Stupid&quot;. It claims that &quot;most systems work best if they are
kept simple rather than made complicated; therefore, simplicity should be a key

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save