aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorAkshay <[email protected]>2019-11-07 10:32:55 +0000
committerAkshay <[email protected]>2019-11-07 10:32:55 +0000
commit6bf0319d5b358d909d7e4525b6f62e702be39e53 (patch)
tree86ae440a33afb4de8b7baae10335c6fd6d5db518 /posts
parent9b089af3406f96dcc9a0d632b3871111b30c2027 (diff)
new links
Diffstat (limited to 'posts')
-rw-r--r--posts/don't_repeat_yourself.md9
-rw-r--r--posts/my_setup.md2
2 files changed, 10 insertions, 1 deletions
diff --git a/posts/don't_repeat_yourself.md b/posts/don't_repeat_yourself.md
new file mode 100644
index 0000000..d39267e
--- /dev/null
+++ b/posts/don't_repeat_yourself.md
@@ -0,0 +1,9 @@
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()`?
diff --git a/posts/my_setup.md b/posts/my_setup.md
index 8d04336..1886e02 100644
--- a/posts/my_setup.md
+++ b/posts/my_setup.md
@@ -1,7 +1,7 @@
1Decided to do one of these because everyone does one of 1Decided to do one of these because everyone does one of
2these. 2these.
3 3
4![scrot](https://files.nerdypepper.me/Hb.png) 4![scrot](https://files.nerdypepper.tech/Hb.png)
5 5
6My entire setup is managed with GNU `stow`, making it easier 6My entire setup is managed with GNU `stow`, making it easier
7to replicate on fresh installations. You can find my 7to replicate on fresh installations. You can find my