<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 05.02.2018 um 19:13 schrieb Salz,
      Rich:<br>
    </div>
    <blockquote
      cite="mid:DBC8E598-F56A-49B4-8317-494A99F4323A@akamai.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1"><span style="font-size:11.0pt"><o:p> </o:p></span>
        <p class="MsoNormal"><span style="font-size:11.0pt">Do not put a
            size after sizeof; do use parens.</span></p>
      </div>
    </blockquote>
    <br>
    nit: Do not put a <i>space </i>after sizeof.<br>
    <br>
    <blockquote
      cite="mid:DBC8E598-F56A-49B4-8317-494A99F4323A@akamai.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p></o:p></span></p>
        <span style="font-size:11.0pt"><o:p> </o:p></span>
        <p class="MsoNormal"><span style="font-size:11.0pt">Treat a
            single-statement with comment as if it were multi-line and
            use curly braces<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
            if (test()) {<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
                /* already alerted */<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
                close();<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
            }<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
    Wasn't there also the suggestion by someone that if one part of an
    if-else statements needs braces that the other part should get some,
    too?<br>
    <br>
        if (foo)<br>
            do_this();<br>
        else<br>
            do_that();<br>
    <br>
    vs.<br>
    <br>
        if (foo) {<br>
            /* some statements */<br>
            ...<br>
        } else {<br>
            ...<br>
        }<br>
    <br>
    <br>
    Matthias<br>
    <br>
  </body>
</html>