incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carol Frampton <cfram...@adobe.com>
Subject Re: [Proposal] Add PostCodeValidator and PostCodeFormatter to the SDK
Date Mon, 12 Mar 2012 15:05:39 GMT


On 3/9/12 5 :18PM, "Carol Frampton" <cframpto@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


Mime
View raw message