How to write readable code Posted on February 2, 2021 How to write readable code These are some of the things I think about when trying to write clean, readable code. Prioritize Clarity There are many ways to write any piece of code. Some will run faster, some will take less memory, some will be easier to test. And some will be more clear. The first step to writing clear code is to make it a priority. This means you have to deprioritize other aspects, like speed. There’s no such thing as prioritizing one thing without deprioritizing something else (when everything is a priority, nothing is).