This commit is contained in:
ajkauffmann 2022-02-24 21:03:41 +00:00
parent 990b56fee9
commit bb8cd97537
204 changed files with 24653 additions and 4697 deletions

View file

@ -86,7 +86,7 @@
</span></code></pre></div><h2 id="discussionshttpsgithubcommicrosoftalguidelinesdiscussionscategoriesbc-best-practicesdiscussions_qcommentspacingcategory3a22bcbestpractices22"><a href="https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices?discussions_q=comment+spacing+category%3A%22BC+Best+Practices%22">Discussions</a></h2>
<p>You can find discussions on all “Best Practices” <a href="https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices">here</a>.</p>
&lt;p>If you don&amp;rsquo;t find the discussion of this guideline, please feel free to create a new one with the same title as this article.&lt;/p></description></item><item><title>Docs: DeleteAll</title><link>https://alguidelines.dev/docs/bestpractices/deleteall/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://alguidelines.dev/docs/bestpractices/deleteall/</guid><description>
&lt;p>&amp;lt;&lt;em>Created by waldo, Described by waldo&lt;/em>&amp;gt;&lt;/p>
&lt;p>&lt;em>Created by waldo, Described by waldo&lt;/em>&lt;/p>
&lt;h2 id="description">Description&lt;/h2>
&lt;p>When you perform a &amp;ldquo;DeleteAll&amp;rdquo; when there is nothing to delete, it will still perform a lock. When you for example perform a DeleteAll on an empty table, it will result in a table lock.
Therefore it&amp;rsquo;s good practice to always check if the table is empty when performing a DeleteAll.&lt;/p>
@ -136,7 +136,7 @@ Therefore it&amp;rsquo;s good practice to always check if the table is empty whe
&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="discussionshttpsgithubcommicrosoftalguidelinesdiscussionscategoriesbc-best-practicesdiscussions_qkeywordpairindentationcategory3a22bcbestpractices22">&lt;a href="https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices?discussions_q=keyword+pair+indentation+category%3A%22BC+Best+Practices%22">Discussions&lt;/a>&lt;/h2>
&lt;p>You can find discussions on all &amp;ldquo;Best Practices&amp;rdquo; &lt;a href="https://github.com/microsoft/alguidelines/discussions/categories/bc-best-practices">here&lt;/a>.&lt;/p>
&lt;p>If you don&amp;rsquo;t find the discussion of this guideline, please feel free to create a new one with the same title as this article.&lt;/p></description></item><item><title>Docs: Line Start Keywords</title><link>https://alguidelines.dev/docs/bestpractices/line-start-keywords/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://alguidelines.dev/docs/bestpractices/line-start-keywords/</guid><description>
&lt;p>&amp;lt;&lt;em>Created by Microsoft, Described by waldo&lt;/em>&amp;gt;&lt;/p>
&lt;p>&lt;em>Created by Microsoft, Described by waldo&lt;/em>&lt;/p>
&lt;h2 id="description">Description&lt;/h2>
&lt;p>The &lt;code>end&lt;/code>, &lt;code>if&lt;/code>, &lt;code>repeat&lt;/code>, &lt;code>for&lt;/code>, &lt;code>while&lt;/code>, &lt;code>else&lt;/code> and &lt;code>case&lt;/code> statement should always start a line.&lt;/p>
&lt;h2 id="bad-code">Bad code&lt;/h2>