Good Programmers write software that works, Great Programmers write software that works exceedingly well. Writing software that works exceedingly well rarely happens on a first try. It is said that the best software usually, is written three times. Why?
- First, you write the software to prove to yourself (or a client) that the solution is possible.
- The second time, you make it work.
- The third time, you make it work right.
Imagine, taking a snapshot and expecting it to be a work of art. Great programmers know that the first iteration is just the first iteration. Okay, it works –congratulations! Now make it better.
Anyone can write code. Not everyone can throw it away.
Every programmer is accustomed to debugging, even though tedious and annoying, this is like the annoying ‘uncle’, we can’t get rid of. But it is wise to know that when you find a block of code with several bugs, it’s time to dump the whole file and write it again from scratch.