Search for deeper understanding of approaches to programming that seem strange or incorrect to you. Don’t look for wrongness in what someone else is doing or what you’re thinking.
Programming Advice for a Younger Me by Adam Keys

One of my biggest problems in my career has definitely been a lack of confidence in the code that I wrote.