I watched a movie yesterday, and one quote I've heard stuck with me:
"Don't doubt yourself, son. Doubt kills."
It's a powerful mindset, don't second-guess yourself. Doubting yourself and your abilities is like ignoring your instincts, convincing yourself that the code is perfect.
What you really need is a shift.
Instead of doubting your skills, doubt the code.
Very often, the issues are in front of your eyes, and what you need is a little shift in your mindset and how you look at a certain function. Don't verify it works, find when it doesn't.
Assume there are bugs - believe it.
Because doubting the code is one of the most effective ways to find a helpful idea. And once you find one, you're already a step closer to the solution.
More on that soon.