From db824ccf8321ecfbcc2176d7a75e4b6986c3fddd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Aug 2024 01:50:47 +0100 Subject: [PATCH] Add daily email for 2024-08-12 Always write your code as if... --- source/_daily_emails/2024-08-12.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 source/_daily_emails/2024-08-12.md diff --git a/source/_daily_emails/2024-08-12.md b/source/_daily_emails/2024-08-12.md new file mode 100644 index 00000000..3eaef2e5 --- /dev/null +++ b/source/_daily_emails/2024-08-12.md @@ -0,0 +1,21 @@ +--- +title: Always write your code as if... +date: 2024-08-12 +permalink: daily/2024/08/12/always-write-your-code-as-if +tags: + - software-development +cta: d7eol +snippet: | + Always write your code as if... +--- + +There's a famous programming quote (and variations of it): + +> Always code as if the (person) who ends up maintaining your code will be a +violent psychopath who knows where you live. Code for readability. + +I believe [it comes from this Google thread](https://groups.google.com/g/comp.lang.c++/c/rYCO5yn4lXw/m/oITtSkZOtoUJ). + +I'm currently working on some Drupal 7 code I first committed to in May 2014. + +That person could also be you!