Are there people other than dglazkov and esprehn opposed to this? Or in favor of this? Please reply to me privately; I'd like to get a rough overview of how major the alleged silent minority is here :-)On Thu, Nov 12, 2015 at 7:41 AM, Dimitri Glazkov <dgla...@chromium.org> wrote:I don't think we should be doing this right now.:DG<On Thu, Nov 12, 2015 at 2:18 AM, TAMURA, Kent <tk...@chromium.org> wrote:I made an experimental CL to apply Chromium style clang-format to third_party/WebKIt/Source/wtf.On Mon, Nov 9, 2015 at 11:48 AM, TAMURA, Kent <tk...@chromium.org> wrote:IMO, we may apply |clang-format --style=Chromium| without 80 column limit now. Less difference is better obviously, and whitespace is not important.--TAMURA Kent
Software Engineer, Google--TAMURA Kent
Software Engineer, Google
Nico,I am glad you're passionate about this and I certainly don't want to be the "one who prevents things".To add a bit more structure to this discussion, I thereby anoint Jeffrey (jyasskin@) as Blink Code Style owner, and make it his responsibility to reason about the Blink style as a whole, its future state, the path toward it, and the power to make the relevant decisions along the way.
On Tue, Nov 17, 2015 at 2:30 PM, Dimitri Glazkov <dgla...@chromium.org> wrote:Nico,I am glad you're passionate about this and I certainly don't want to be the "one who prevents things".To add a bit more structure to this discussion, I thereby anoint Jeffrey (jyasskin@) as Blink Code Style owner, and make it his responsibility to reason about the Blink style as a whole, its future state, the path toward it, and the power to make the relevant decisions along the way.My point is that the feedback pretty clearly is that there shouldn't be such a thing as a Blink Code Style owner, at least for whitespace formatting.
The patch mis-formats a few macro uses. I weakly prefer getting the
reformatting over with quickly even if it causes a small mess, and
letting folks clean up afterwards.
Ok, after 1 day we have:* 13 in favor of reformatting with -style=Chromium (without tweaks), about half of them surprisingly strongly ("why is this even be discussed?" "in favor of reformatting to match Chromium asap" etc)* 1 against reformatting in general because of tooling (who might feel better after dborowitz' mail about making blame work better)* esprehn, dglazkov and 1 more against itI think this very convincingly disproves the "silent majority is against reformatting" and shows that in fact the opposite is true.
I don't think renaming all our files to hacker_case, our inline methods, and our member variables is a productive use of time. It means changing several code generators, macros, other tooling, and cuts deeply into the usability of blame. None of this will result in shipping a better product to our users. Lets focus on product excellence: improving memory usage, performance, and fixing bugs instead. :)If we must we can have new files follow this style, but going back and redoing all the layout/style code is not worth it.
Lets focus on product excellence: improving memory usage, performance, and fixing bugs instead. :)
I agree with Elliott. I think it's better to spend our efforts on more important projects. Code health does matter, but even if we work on the code health, there would be more important projects to work on (e.g., Blink Onion Soup sounds more impactful to me than fixing the coding style). The opportunity cost of fixing the coding style seems a bit too high.
On Thu, Nov 19, 2015 at 9:04 AM, Peter Kasting <pkas...@google.com> wrote:On Wed, Nov 18, 2015 at 3:49 PM, Kentaro Hara <har...@chromium.org> wrote:I agree with Elliott. I think it's better to spend our efforts on more important projects. Code health does matter, but even if we work on the code health, there would be more important projects to work on (e.g., Blink Onion Soup sounds more impactful to me than fixing the coding style). The opportunity cost of fixing the coding style seems a bit too high.Do you also disagree with the proposed whitespace reformatting?I ask because I can't see how that's any different. Elliott and Dimitri have argued against both, I've argued for both; those two positions I understand. But unless you're the one other person opposed to the whitespace reformatting (or you never responded to that), then you'd be in favor of a halfway position that I don't comprehend.Yeah, I'm the third person :)
Even if Blink is converted to the same coding style as chromium, it will not be just one coding style. There are dozens of third party projects embedded in the chromium code base and they typically have their own styles. Living with more than one coding style in a code base is the way of life in a big project and I don't think it will change any time soon.
I'm trying to work out a proposal with the folks in
styleguide/c++/OWNERS, which we'll bring back to here and
chromium-dev. Folks should feel free to keep discussing here, but you
should also feel free to spend time on your day jobs, and let us waste
just 4 folks' time arguing. :)