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

Yaar Schnitman yaar at chromium.org
Thu Dec 3 11:43:44 PST 2009


On Thu, Dec 3, 2009 at 11:36 AM, Jeremy Orlow <jorlow at chromium.org> wrote:

> 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
>>> ragged.
>>>
>>
>>
>> That would be my preference, too.
>>
>
> I would like this.
>
> +1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091203/6639dae1/attachment.html>


More information about the webkit-dev mailing list