[webkit-dev] Proposing style guide change regarding braces on conditional arms

Alexey Proskuryakov ap at webkit.org
Thu Dec 3 11:20:50 PST 2009


On 02.12.2009, at 23:35, Maciej Stachowiak wrote:

> One possible conservative modification to the rule is that if you  
> have a multi-block if ... else if ... else chain, then if even one  
> body has braces, all should. I think that would tend to reduce  
> rather than increase visual noise, as all the "else" keywords would  
> line up where right now they look ragged.


That would be my preference, too.

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list