Skip to content

Commit

Permalink
Recommend #include<> syntax in developer notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanofsky authored and meshcollider committed Nov 15, 2017
1 parent 96b9281 commit 434f5a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/developer-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,14 @@ namespace {

- *Rationale*: Avoids confusion about the namespace context

- Prefer `#include <primitives/transaction.h>` bracket syntax instead of
`#include "primitives/transactions.h"`` quote syntax when possible.

- *Rationale*: Bracket syntax is less ambiguous because the preprocessor
searches a fixed list of include directories without taking location of the
source file into account. This allows quoted includes to stand out more when
the location of the source file actually is relevant.

GUI
-----

Expand Down

0 comments on commit 434f5a2

Please sign in to comment.