I’ve noticed in my programming that when I make errors that prevent me from reaching a solution or lead to a cumbersome design my natural tendency is to become more conservative with my ideas, thinking that it might have been arrogance that caused the error. But, if I feel like I understand the error well, I force myself to remain bold in the knowledge that my continued boldness will be manifest in a completely different way with my new knowledge and I will be successful much sooner than had I become timid. I don’t know who said this, but it is a quote I like: the solution to bad decisions is not to stop making decisions; it’s to make better decisions.
I think the optimum thing would be to have utter Certainty in localized settings, whilst retaining a good check on sanity on the global level. While trying to woo a lady, you don't want to have constant thoughts of doubt. In this situation, it is more beneficial to be "irrationally self-confident". But you don't necessarily want this delusion to seep into everyday life, as it would cause you to become a... well, a general douchebag :)
Then again, those who are convinced their way is the "right" way are often the ones who have the biggest impact on the world (for better or worse).