[webkit-dev] Proposal: Adopt Web Inspector coding style for all WebKit JS/CSS source code

Timothy Hatcher timothy at apple.com
Mon Jul 11 08:33:07 PDT 2016


> On Jul 9, 2016, at 3:22 PM, Sam Weinig <weinig at apple.com> wrote:
> 
> It should probably get a parallel page to https://webkit.org/code-style-guidelines/ <https://webkit.org/code-style-guidelines/> and be updated with the same type of right / wrong examples.

Yes, I agree it should be a separate document. We can work on putting that together.

> Our of curiosity, other than for features that simply aren’t available in C++ / Objective-C (or vice-versa), are there places where the inspector JS guideline deviates from what we do in the rest of WebKit?


We pretty much follow the C++ WebKit style for things that overlap in the syntax.

— Timothy Hatcher

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160711/73ba98fa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3573 bytes
Desc: not available
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160711/73ba98fa/attachment.p7s>


More information about the webkit-dev mailing list