Skip to content

Commit 46dadd0

Browse files
authored
Modified slightly impolite language (#1601)
* dumb -> inefficient
1 parent 9779787 commit 46dadd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ The date is validated twice (by the `Date` constructor) and passed as a characte
915915
##### Example
916916

917917
Excess checking can be costly.
918-
There are cases where checking early is dumb because you may not ever need the value, or may only need part of the value that is more easily checked than the whole. Similarly, don't add validity checks that change the asymptotic behavior of your interface (e.g., don't add a `O(n)` check to an interface with an average complexity of `O(1)`).
918+
There are cases where checking early is inefficient because you may never need the value, or may only need part of the value that is more easily checked than the whole. Similarly, don't add validity checks that change the asymptotic behavior of your interface (e.g., don't add a `O(n)` check to an interface with an average complexity of `O(1)`).
919919

920920
class Jet { // Physics says: e * e < x * x + y * y + z * z
921921
float x;

0 commit comments

Comments
 (0)