Here are the 10 tips by Michael Toppa from his talk at Wordcamp US, 2016.
We like to think we spend our time power typing, but we actually spend most of our time staring into the abyss. - Douglas Crockford
Act like professionals. You don’t go to the doctor and say, “I am in a hurry. No need to wash your hands. Just go go go!” Adhere to the professional standards.
Code should speak for itself whenever possible.
Code updates don’t often include updating the comments. So comments may become misleading.
method: does one thing, does it well, does it only.
class: cohesiveness, are most of the methods using most of the properties?
The software architecture should be independent of the framework it is going to be used with. E.g. a wordpress plugin should be designed such that it can be used independently with minimal changes.
Learn new techniques when the client is not paying you. Do code kata.