This is an old version, view current version.
35 Stan Program Style Guide
This chapter describes the preferred style for laying out Stan
models. These are not rules of the language, but simply
recommendations for laying out programs in a text editor. Although
these recommendations may seem arbitrary, they are similar to those of
many teams for many programming languages. Like rules for typesetting
text, the goal is to achieve readability without wasting white space
either vertically or horizontally. This is the style used in the Stan
documentation, and should align with the auto-formatting ability of
stanc3
.