On 3/9/12 5 :18PM, "Carol Frampton" <cfram...@adobe.com> wrote:

>I didn't look at the code but I can tell you what the current style guides
>says.
>
>An if statement should look like
>
>    if (expression)
>        statement;


One more clarification.  If there is an else it should then be
 
    if (expresion)
    {
        statement;
    }
    else
    {
        statement;
    }



>
>or if multiline
>
>    if (expression)
>    {
>        statement1;
>        statement2;
>    }
>
>and there should be a space after the "if".
>
>This is not to open a debate on style - please don't.  I am just reporting
>what is currently documented.
>
>Carol

Reply via email to