[webkit-dev] Coding style

Darin Adler darin at apple.com
Thu Jun 4 11:47:36 PDT 2009


On Jun 4, 2009, at 11:28 AM, David Levin wrote:

> I've thought rule of the rule as this
>
>      "Control clauses (including any preceeding comments) that are  
> one physical line should not use braces".
>
> So something like
> if (test) {
>     myFunction(reallyLongParam1, reallyLongParam2, ...
>                reallyLongParam4);
> }
> would also have braces.
>
> Is that how others interpret it?

Yes.

     -- Darin



More information about the webkit-dev mailing list