Nah, that's just what's it is like learning to code. You just have to get through it and get more experienced. Once you're past the frustrating parts it becomes really enjoyable.
However, I don't know what language you're starting out with but that also makes a huge difference. Some approaches just click better with people than others. I love Lisp, others can't stand it. I hate C pointer syntax, it always confuses me while I had no problems with 'pointers' in 68000 assembly for example.
Just try out a couple of languages.