Learning programming is painful :/
It's not that bad, really. I'd say learning a computer language is far less painful than a human language. Even when fluent you still have no idea what kind of compiler will people use in their head to understand your message.
As a (non-gaming) professional dev, I'd say the language part is not the most complicated: the hard parts of programming are rather everything that you need in addition to be able to write code, like understanding/writing requirements, testing/finding/evaluating/choosing/integrating/updating third party components and tools, deploying, debugging, writing documentation, UI/UX work, communicating with stakeholders...
Of course not everything apply for solo game dev, but you'd get a handful of others tasks like marketing and communications.