Skip to content

Commit

Permalink
Update docs/TIGER_STYLE.md
Browse files Browse the repository at this point in the history
Co-authored-by: Joran Dirk Greef <joran@tigerbeetle.com>
  • Loading branch information
matklad and jorangreef committed Jan 16, 2024
1 parent f0cb14a commit 748640d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/TIGER_STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ Beyond these rules:
* Callbacks go last in the list of parameters. This mirrors control flow: callbacks are also
_invoked_ last.

* More generally, _order_ matters for readability even if it doesn't affect semantics. On the
initial scan, a file is read top-down, so put important things near the top. The `main` function
* _Order_ matters for readability (even if it doesn't affect semantics). On the
first read, a file is read top-down, so put important things near the top. The `main` function
goes first.

At the same time, not everything has a single right order. When in doubt, consider sorting
Expand Down

0 comments on commit 748640d

Please sign in to comment.