diff options
author | Akshay <[email protected]> | 2019-11-07 10:32:55 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2019-11-07 10:32:55 +0000 |
commit | 6bf0319d5b358d909d7e4525b6f62e702be39e53 (patch) | |
tree | 86ae440a33afb4de8b7baae10335c6fd6d5db518 /posts | |
parent | 9b089af3406f96dcc9a0d632b3871111b30c2027 (diff) |
new links
Diffstat (limited to 'posts')
-rw-r--r-- | posts/don't_repeat_yourself.md | 9 | ||||
-rw-r--r-- | posts/my_setup.md | 2 |
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 @@ | |||
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()`? | ||
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 @@ | |||
1 | Decided to do one of these because everyone does one of | 1 | Decided to do one of these because everyone does one of |
2 | these. | 2 | these. |
3 | 3 | ||
4 | ![scrot](https://files.nerdypepper.me/Hb.png) | 4 | ![scrot](https://files.nerdypepper.tech/Hb.png) |
5 | 5 | ||
6 | My entire setup is managed with GNU `stow`, making it easier | 6 | My entire setup is managed with GNU `stow`, making it easier |
7 | to replicate on fresh installations. You can find my | 7 | to replicate on fresh installations. You can find my |