I think part of it is trying to learn the wrong thing. I am self-taught and still struggle, but I found one big breakthrough came from returning to principles.
A lot of people who want to learn to code jump into a language and as soon as they finish "Hello World", they go headlong into a full scale project. This is the main culprit behind the unhelpful "help" sections alluded to in the article. If you don't understand the basics, that inevitable bump in difficulty becomes insurmountable. It wasn't until after I went back and figured out basic algorithms, how to properly use and test with an IDE and other little, less "sexy" details that learning to code became manageable.