From ffa029710614c6ba6ce85668eab30b28499239ec Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Mon, 17 Aug 2015 10:29:33 -0600 Subject: [PATCH] Add note about 'override' and 'final' keywords --- 05-Considering_Maintainability.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/05-Considering_Maintainability.md b/05-Considering_Maintainability.md index f390ac5..3116412 100644 --- a/05-Considering_Maintainability.md +++ b/05-Considering_Maintainability.md @@ -30,3 +30,7 @@ See http://mortoray.com/2015/06/15/get-rid-of-those-boolean-function-parameters/ ## Avoid Raw Loops 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. + +## Properly Utilize 'override' and 'final' + +These keywords make it clear to other developers how virtual functions are being utilized, can catch potential errors if the signature of a virtual function changes, and can possibly [hint to the compiler](http://stackoverflow.com/questions/7538820/how-does-the-compiler-benefit-from-cs-new-final-keyword) of optimizations that can be performed.