Most programmers will make these mistakes in their career — 1. Measuring good code by the number of lines Whether the code was done with a small number of lines or a lot of lines of code, good clean code should not be measured by the number of lines! If you produce great code, with few bugs and easy to maintain, it is pretty much all that matters. 2. Looking for the answer before trying to solve the problem