One of the most important things to take into consideration when writing code, is to actually take the code into consideration. If code is being written with only the end goal in sight, it’s easy to write code simply to get there, because often taking the time to write the code cleanly will take a bit more time.
Using correct naming conventions is a great start. Different elements of the source code, such as classes, objects, methods and functions, should be given meaningful names to avoid confusion and be obvious to another programmer and the machine reading it. Spacing and formatting is vital for clean coding from a human point of view, as very few of us can look at a solid block of text without getting lost in it. It is important that this is done right however, because too many random spaces and gaps can increase the file size which affects site loading time. Consistency is also key. If we make sure all of our staff follow our conventions for clean coding (unless they have a better idea for something, in which case we would adopt this new method into our conventions), then it will be easy for our staff to jump onto different projects when needed.