It’s not at all important to get it right the first time. It’s vitally important to get it right the last time.
This quote comes from Andrew Hunt and David Thomas in the book The Pragmatic Programmer. I’ve never read the book, but just this quote might be enough to get me to get a copy.
I think it extends even farther though. It doesn’t matter that you don’t get something right, as long as you keep trying until you do get it right.
This is something that I struggle with working with students. Getting the right answer has become so important that students are afraid to be wrong. I try to convince students that it’s okay to be wrong sometimes. Heck, it’s okay to be wrong most of the time. As long as you’re willing to keep going.