From 46dadd0b16b904fe0ff88c1fef9b0702dfd139e2 Mon Sep 17 00:00:00 2001 From: Dale Visser Date: Thu, 7 May 2020 14:28:14 -0400 Subject: [PATCH] Modified slightly impolite language (#1601) * dumb -> inefficient --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index ac46039..fd958ef 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -915,7 +915,7 @@ The date is validated twice (by the `Date` constructor) and passed as a characte ##### Example Excess checking can be costly. -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)`). +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)`). class Jet { // Physics says: e * e < x * x + y * y + z * z float x;