Update 05-Considering_Maintainability.md

This commit is contained in:
Jason Turner
2018-09-04 09:03:24 -06:00
committed by GitHub
parent 163eb07aa7
commit 12ec9d63cb

View File

@@ -42,7 +42,7 @@ assert(set_value(something));
assert(success); assert(success);
``` ```
The `assert()` will be removed in release builds which will prevent the `set_value` call from every happening. The `assert()` will be removed in release builds which will prevent the `set_value` call from ever happening.
So while the second version is uglier, the first version is simply not correct. So while the second version is uglier, the first version is simply not correct.