From bc10318946ce3853633682a3fa075da525feca07 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Tue, 25 Aug 2015 10:17:18 -0700 Subject: [PATCH] Moving link to the key part of the sentence --- 04-Considering_Safety.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04-Considering_Safety.md b/04-Considering_Safety.md index e802458..a55916e 100644 --- a/04-Considering_Safety.md +++ b/04-Considering_Safety.md @@ -2,7 +2,7 @@ ## Const as Much as Possible -`const` tells the compiler that a variable or method is immutable. This helps the compiler optimize the code and helps the developer know if a function has a side effect. Also, using `const &` prevents the compiler from copying data unnecessarily. [Here](http://kotaku.com/454293019) are some comments on `const` from John Carmack. +`const` tells the compiler that a variable or method is immutable. This helps the compiler optimize the code and helps the developer know if a function has a side effect. Also, using `const &` prevents the compiler from copying data unnecessarily. The [comments on `const` from John Carmack](http://kotaku.com/454293019) are also a good read. ```cpp // Bad Idea