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

Sam Weinig sam.weinig at gmail.com
Thu Dec 3 00:21:49 PST 2009


On Wed, Dec 2, 2009 at 9:57 PM, Dan Bernstein <mitz at apple.com> wrote:

>
> On Dec 2, 2009, at 9:46 PM, Peter Kasting wrote:
>
> On Wed, Dec 2, 2009 at 9:19 PM, Mark Rowe <mrowe at apple.com> wrote:
>
>> On 2009-12-02, at 21:00, Peter Kasting wrote:
>>
>> > I find this tricky to read and error-prone.  I propose that the rule be
>> modified to be:
>> >
>> > * When all arms of a conditional or loop are one physical line, do not
>> use braces.  If any arms are more than one physical line (even if they are
>> one logical line), use braces on all arms.
>>
>> I do not agree that this would be an improvement.
>>
>
> Are you satisfied with the existing rule, then?  If so, you would be the
> first developer I have asked who is.
>
>
> I am satisfied with the existing rule.
>

Me too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091203/7db61d38/attachment.html>


More information about the webkit-dev mailing list