Add daily email for 2024-08-12
Always write your code as if...
This commit is contained in:
parent
bc6c9cf298
commit
db824ccf83
21
source/_daily_emails/2024-08-12.md
Normal file
21
source/_daily_emails/2024-08-12.md
Normal file
|
@ -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!
|
Loading…
Reference in a new issue