[webkit-dev] Proposing style guide change regarding braces on conditional arms
jorlow at chromium.org
Thu Dec 3 11:36:47 PST 2009
On Thu, Dec 3, 2009 at 11:20 AM, Alexey Proskuryakov <ap at webkit.org> wrote:
> 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
> That would be my preference, too.
I would like this.
On Thu, Dec 3, 2009 at 11:30 AM, Kenneth Russell <kbr at google.com> wrote:
> Perhaps existing code could be grandfathered in but new or modified
> code required to conform to the rule Peter proposes.
This is more or less the norm.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev