← go back to the home page
One of the things I've been trying to do is look for simpler or rules underpinning good or bad design. I think one of the most valuable rules is avoid duplication. 'Once and only once' is the Extreme Programming phrase.
When you feel the need to write a comment, first try to refactor the code so that any comment becomes superflous.
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Code smells.