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.

I'm currently working on some Drupal 7 code I first committed to in May 2014.

That person could also be you!

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.