Kent Beck
I’m not a great programmer; I’m just a good programmer with great habits.
When you feel the need to write a comment, first try to refactor the code so that any comment becomes superfluous.
When you find you have to add a feature to a program, and the program’s code is not structured in a convenient way to add the feature, first refactor the program to make it easy to add the feature, then add the feature.