From 6bf0319d5b358d909d7e4525b6f62e702be39e53 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 7 Nov 2019 16:02:55 +0530 Subject: new links --- posts/don't_repeat_yourself.md | 9 +++++++++ posts/my_setup.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 posts/don't_repeat_yourself.md (limited to 'posts') 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 @@ +Looping constructs are bad. Consider this: + +``` +for (int i = 0; i < arr.len(); i++) { ... } +``` + +It is not obvious at all, what this loop does. Is it +supposed to iterate over the elements of the array? Is it +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 @@ Decided to do one of these because everyone does one of these. -![scrot](https://files.nerdypepper.me/Hb.png) +![scrot](https://files.nerdypepper.tech/Hb.png) My entire setup is managed with GNU `stow`, making it easier to replicate on fresh installations. You can find my -- cgit v1.2.3