aboutsummaryrefslogtreecommitdiff
path: root/posts/don't_repeat_yourself.md
diff options
context:
space:
mode:
Diffstat (limited to 'posts/don't_repeat_yourself.md')
-rw-r--r--posts/don't_repeat_yourself.md9
1 files changed, 0 insertions, 9 deletions
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 @@
1Looping constructs are bad. Consider this:
2
3```
4for (int i = 0; i < arr.len(); i++) { ... }
5```
6
7It is not obvious at all, what this loop does. Is it
8supposed to iterate over the elements of the array? Is it
9just a variable binding that increases up to `arr.len()`?