# Stan's C++ style guide

**URL:** https://discourse.mc-stan.org/t/stans-c-style-guide/489
**Category:** Developers
**Tags:** maintenance
**Created:** [May 10, 2017, 6:28pm UTC](https://discourse.mc-stan.org/t/stans-c-style-guide/489 "2017-05-10T18:28:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![syclik](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/syclik/32/6_2.png) [@syclik](https://discourse.mc-stan.org/u/syclik)
#### Post date: [May 10, 2017, 6:28pm UTC](https://discourse.mc-stan.org/t/stans-c-style-guide/489/1 "2017-05-10T18:28:49Z")

</div>

For any developers working on Stan’s C++, we do have a style guide. For the most part, we use [Google’s C++ style](https://google.github.io/styleguide/cppguide.html) with exceptions listed here:

> **[stan-dev/stan](https://github.com/stan-dev/stan/wiki/Coding-Style-and-Idioms)**
>
> Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details. - stan-dev/stan

This came up on one of the pull requests and I thought it’d be better not to just mention it on a pull request comment.
