Edit - “do it right the first time” defined in the comments.

The most valuable thing I have ever learned in programming is to do it right the first time. I take extra care now to make sure the logic of a program is carefully planned out ahead of time and that the core code is written to the best of my ability. It takes a lot of discipline, but it results in fewer bugs and gives me a sense of pride on the project from the very beginning (which is actually more valuable for momentum). Projects I’m proud to work on make it easier to come back to them day after day. If you’re also interested in becoming a better programmer, I highly recommend checking out these great resources: