Technical Managers move to Non-technical over time.
Here is another secret, no one has the right way to develop. There are many development styles and some produce better short term or long term results.
Unelegant code that works might be just the thing until more robust, better architected, unit tested code takes its place it all comes down to the purpose. A small one off hacked together solution for on boarding might be better than spending three months to "get it right " it all depends on risk appetite, project standards, and the scenario.
Don't act like you know better if you don't. Listen to other developers ideas, they might have input you haven't thought of.
Always Be Learning, not as catchy as always be closing, but the path of a developer is a path not a destination. You can always make progress.
Fear of failure or being called out as a fraud shouldn't stop you. Remember everyone makes mistakes, no one is perfect, lots developers think they write the best code in their shop, and would critique your code even if you objectively were the best developer of all time.
Learn the industry standards as you can and shore up your weaknesses with good underlings that will help you learn.