[webkit-dev] take 2: unwritten rules of webkit style

Peter Kasting pkasting at google.com
Thu Sep 3 15:51:01 PDT 2009

On Thu, Sep 3, 2009 at 3:46 PM, Darin Adler <darin at apple.com> wrote:

> On Sep 3, 2009, at 8:43 AM, David Levin wrote:
> There should only be a single space before end of line comments. An
> exception is if one is lining up several end of line comments.
> I don’t think we should have this exception.
> Things manually lined up in source code generally create a small
> maintainability problem. You can’t rename things without re-lining things
> up, and if you make other types code changes without noticing the lined-up
> comments the code ends up looking messy an peculiar.

The common place to do this is on a set of constants/enum values, where I
don't think the objections you raise are a big deal.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090903/39fa50dc/attachment.html>

More information about the webkit-dev mailing list