8000 Enhance notes on algorithms. · saharFor/cppbestpractices@31cef74 · GitHub
[go: up one dir, main page]

10000
Skip to content

Commit 31cef74

Browse files
authored
Enhance notes on algorithms.
1 parent 54e2a3b commit 31cef74

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

05-Considering_Maintainability.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ See http://mortoray.com/2015/06/15/get-rid-of-those-boolean-function-parameters/
2929
3030
## Avoid Raw Loops
3131
32-
Know and understand the existing C++ standard algorithms and put them to use. See [C++ Seasoning](https://www.youtube.com/watch?v=qH6sSOr-yk8) for more details.
32+
Know and understand the existing C++ standard algorithms and put them to use.
33+
34+
* See [cppreference](https://en.cppreference.com/w/cpp/algorithm)
35+
* Watch [C++ Seasoning](https://www.youtube.com/watch?v=qH6sSOr-yk8)
36+
37+
Consider a call to `[]` as a potential code smell, indicating that an algorithm was not used where it could have been.
38+
3339
3440
## Never Use `assert` With Side Effects
3541

0 commit comments

Comments
 (0)
0