> Think really hard about the problem you are solving.
This is really good advice. Also think really hard about what is the real problem you are trying to solve and only write code to solve that problem.
The oxymoron is the best code you write is the code that you did not write.