[Webkit-unassigned] [Bug 26188] Clarify some of the cases in the coding style guide

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 4 11:59:13 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26188





------- Comment #3 from levin at chromium.org  2009-06-04 11:59 PDT -------
Since you're clarifying this rule about single line clauses, you may want to
make it slightly more general (as discussed on webkit-dev).

Here was my attempt but you may find a way to phrase it better:
     "Control clauses (including any preceeding comments) that are one physical
line should not use braces".

Good:
if (test) {
   myFunction(reallyLongParam1, reallyLongParam2, ...
              reallyLongParam4);
}


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list