From bb1ad5478fa7f4e2a6786674efb458aca43c6821 Mon Sep 17 00:00:00 2001 From: Jon Meow <46229924+jonmeow@users.noreply.github.com> Date: Tue, 10 Nov 2020 16:01:41 -0800 Subject: [PATCH] Decision for: Add a C++ style guide #113 (#181) - [Proposal PR](https://github.com/carbon-language/carbon-lang/pull/113) - [RFC topic](https://forums.carbon-lang.dev/t/rfc-add-a-c-style-guide/102) - [Decision request](https://forums.carbon-lang.dev/t/request-for-decision-add-a-c-style-guide-113/155) - [Decision announcement](https://forums.carbon-lang.dev/t/accepted-add-a-c-style-guide-113/161) Finalized on: 2020-11-10 --- proposals/p0113_decision.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 proposals/p0113_decision.md diff --git a/proposals/p0113_decision.md b/proposals/p0113_decision.md new file mode 100644 index 000000000000..b480274704e3 --- /dev/null +++ b/proposals/p0113_decision.md @@ -0,0 +1,37 @@ +# Decision for: Add a C++ style guide + + + +Proposal accepted on 2020-10-27 + +Affirming: + +- [austern](https://github.com/austern) +- [chandlerc](https://github.com/chandlerc) +- [geoffromer](https://github.com/geoffromer) +- [gribozavr](https://github.com/gribozavr) +- [josh11b](https://github.com/josh11b) +- [noncombatant](https://github.com/noncombatant) +- [zygoloid](https://github.com/zygoloid) + +Abstaining: + +- [tituswinters](https://github.com/tituswinters) + +## Rationale + +A common, established style guide will allow us to focus on the more important +aspects of coding and code review. Once we're familiar with the rules, their +consistent application will result in a more readable codebase, and rules that +can largely be automated by clang-format will result in a more efficient +development process. + +This particular ruleset attempts to align with our expected lexical rules for +the Carbon language (for example, comment syntax and capitalization rules), +which will also mean that we can use a largely consistent style between the +aspects of the toolchain implemented in C++ and the aspects implemented in +Carbon.