Computers don't care

Computers don't care how code is written or formatted, but humans do.

A computer will parse and execute your code whether it's written on a single line or multiple.

So, don't optimise for computers.

Optimise your code for humans.

People read more code than they write, so write your code in a readable way so it's easy for people to read and understand - not the computer.

- 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.