If you are going to learn to code and you are planning to stick with it, then you owe it to yourself to read this: Why Learning to Code is So Damn Hard.
It’s well written, and it has some great graphs, including this one:
I think any area of learning where you get good initial training would look similar to this. I recommend you find some mentors to help get your through the desert of despair.
P.S. Yes, I realized they borrowed heavily from Gartner’s Hype Curve. 🙂