Tips for Writing Clean Code

Photo by Adli Wahid on Unsplash

Let me preface this with saying these tips are an accumulation of knowledge from working as a web developer for 5 years and from advice derived from various sources, some of which from the famous Clean Code book.

Before starting I think it is necessary to make a general statement about what makes code clean. I believe clean code to be code which is to the point, expresses its intent with minimal confusion and is a…