diff options
Diffstat (limited to 'posts')
-rw-r--r-- | posts/color_conundrum.md | 2 | ||||
-rw-r--r-- | posts/don't_repeat_yourself.md | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/posts/color_conundrum.md b/posts/color_conundrum.md index 0e938b7..d051ae4 100644 --- a/posts/color_conundrum.md +++ b/posts/color_conundrum.md | |||
@@ -8,7 +8,7 @@ does. It is difficult for the human eye to filter out noise | |||
8 | in rainbow barf. Use color to draw attention, not diverge | 8 | in rainbow barf. Use color to draw attention, not diverge |
9 | it. | 9 | it. |
10 | 10 | ||
11 | At the same time, a book devoid of color is *boring!*. What | 11 | At the same time, a book devoid of color is *boring!* What |
12 | is the takeaway from this 10 line paragraph? What are the | 12 | is the takeaway from this 10 line paragraph? What are the |
13 | technical terms used? | 13 | technical terms used? |
14 | 14 | ||
diff --git a/posts/don't_repeat_yourself.md b/posts/don't_repeat_yourself.md deleted file mode 100644 index d39267e..0000000 --- a/posts/don't_repeat_yourself.md +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | Looping constructs are bad. Consider this: | ||
2 | |||
3 | ``` | ||
4 | for (int i = 0; i < arr.len(); i++) { ... } | ||
5 | ``` | ||
6 | |||
7 | It is not obvious at all, what this loop does. Is it | ||
8 | supposed to iterate over the elements of the array? Is it | ||
9 | just a variable binding that increases up to `arr.len()`? | ||