On Thu, Oct 29, 2015 at 8:49 AM, Václav Brožek <va...@chromium.org> wrote:Hi all,Chromium's style guide links to Google's C++ style guide for further guidance. It uses the http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml link. It has been pointed out recently, that the public Google C++ guide actually moved to http://google.github.io/styleguide/cppguide.html.Should we update Chromium's style guide to point to http://google.github.io/styleguide/cppguide.html?Note that the two versions of the Google C++ style guide differ non-trivially. For example, the new Google C++ style guide considers forward declarations harmful (cf. the old one).Probably the new one,
but this specific rule doesn't make sense for Chromium. (We've discussed this one at some point somewhere – can't find the thread right now, but I can try harder next week.)
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
On Thu, Oct 29, 2015 at 11:57 AM, Nico Weber <tha...@chromium.org> wrote:
On Thu, Oct 29, 2015 at 8:49 AM, Václav Brožek <va...@chromium.org> wrote:
Hi all,
Chromium's style guide links to Google's C++ style guide for further guidance. It uses the http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml link. It has been pointed out recently, that the public Google C++ guide actually moved to http://google.github.io/styleguide/cppguide.html.
Should we update Chromium's style guide to point to http://google.github.io/styleguide/cppguide.html?
Note that the two versions of the Google C++ style guide differ non-trivially. For example, the new Google C++ style guide considers forward declarations harmful (cf. the old one).
Probably the new one,
+1: we've always tracked the latest version (svn trunk) of the public style guide, and I can't imagine why this would change just because it moved to github.
I'll update the link; someone can change it back if this is wrong for some reason.but this specific rule doesn't make sense for Chromium. (We've discussed this one at some point somewhere – can't find the thread right now, but I can try harder next week.)
--
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
On 10/29/2015 06:14 PM, Jeremy Roman wrote:On Thu, Oct 29, 2015 at 11:57 AM, Nico Weber <tha...@chromium.org> wrote:
On Thu, Oct 29, 2015 at 8:49 AM, Václav Brožek <va...@chromium.org> wrote:
Hi all,
Chromium's style guide links to Google's C++ style guide for further guidance. It uses the http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml link. It has been pointed out recently, that the public Google C++ guide actually moved to http://google.github.io/styleguide/cppguide.html.
Should we update Chromium's style guide to point to http://google.github.io/styleguide/cppguide.html?
Note that the two versions of the Google C++ style guide differ non-trivially. For example, the new Google C++ style guide considers forward declarations harmful (cf. the old one).
Probably the new one,
+1: we've always tracked the latest version (svn trunk) of the public style guide, and I can't imagine why this would change just because it moved to github.
I'll update the link; someone can change it back if this is wrong for some reason.but this specific rule doesn't make sense for Chromium. (We've discussed this one at some point somewhere – can't find the thread right now, but I can try harder next week.)
If we disagree with some of the rules in the new style guide (e.g. forward declarations), should we not update the Chromium-specific overlay style guide before switching to the newest Google style guide as a baseline?
--
On Thu, Oct 29, 2015 at 10:24 AM, Bartosz Fabianowski <bar...@chromium.org> wrote:On 10/29/2015 06:14 PM, Jeremy Roman wrote:On Thu, Oct 29, 2015 at 11:57 AM, Nico Weber <tha...@chromium.org> wrote:
On Thu, Oct 29, 2015 at 8:49 AM, Václav Brožek <va...@chromium.org> wrote:
Hi all,
Chromium's style guide links to Google's C++ style guide for further guidance. It uses the http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml link. It has been pointed out recently, that the public Google C++ guide actually moved to http://google.github.io/styleguide/cppguide.html.
Should we update Chromium's style guide to point to http://google.github.io/styleguide/cppguide.html?
Note that the two versions of the Google C++ style guide differ non-trivially. For example, the new Google C++ style guide considers forward declarations harmful (cf. the old one).
Probably the new one,
+1: we've always tracked the latest version (svn trunk) of the public style guide, and I can't imagine why this would change just because it moved to github.
I'll update the link; someone can change it back if this is wrong for some reason.but this specific rule doesn't make sense for Chromium. (We've discussed this one at some point somewhere – can't find the thread right now, but I can try harder next week.)
but this specific rule doesn't make sense for Chromium. (We've discussed this one at some point somewhere – can't find the thread right now, but I can try harder next week.)If you found that reference, I would appreciate a link, just for my education. (Tried to fish for it in chromium-dev, but no luck so far.)
My take is that this is a good guideline if you know that you have a scalable, distributed build system – then the effect is only a higher load, not higher build times.This isn't true for chrome ... so I think we probably don't want to follow this recommendation.
Rather than risk further confusion, I turned all of the content at the old site (such as https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) into redirects to the new one (https://google.github.io/styleguide/cppguide.html)