**Don't Repeat Yourself**. The idea is simple: if you find yourself writing the same code more than once, something is wrong. You should write it once, give it a name, and then reuse it.