diff options
| author | practicalswift <[email protected]> | 2017-08-16 21:22:56 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-08-17 00:42:32 +0200 |
| commit | d1e6f91f85ba81394297ba72271226ece7047303 (patch) | |
| tree | 216f74b95682ab69fe499940a81b2bdbf2b16a27 /doc/developer-notes.md | |
| parent | Merge #10901: Fix constness of ArgsManager methods (diff) | |
| download | discoin-d1e6f91f85ba81394297ba72271226ece7047303.tar.xz discoin-d1e6f91f85ba81394297ba72271226ece7047303.zip | |
Prefer compile-time checking over run-time checking
Diffstat (limited to 'doc/developer-notes.md')
| -rw-r--r-- | doc/developer-notes.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 461d7e1dc..77260bbdf 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -37,6 +37,7 @@ code. - **Miscellaneous** - `++i` is preferred over `i++`. + - `static_assert` is preferred over `assert` where possible. Generally; compile-time checking is preferred over run-time checking. Block style example: ```c++ |