Rule #1: Never do anything you can teach a computer to do for you.
Rule #2: If you've repeated the exact same keystrokes more than 3 times, you're probably doing it wrong.
Rule #3: It is always best if you can be smart one time. The effort put into writing a program to solve a problem is never wasted.