Then there's the countless times you have to bang your head against the wall whilst coding because of some unrelenting problem/bug that just won't go away and you've spent 5 hours straight combing Google for a solution, but you need the grit to solve it all by your lonesome. No savior of a snippet will solve it for you.
Then there's the mental gymnastics required to envision the end result of your code and the delayed gratification you endure when everything is in prototype mode for long periods of time. You have to have the vision of the end product and execute accordingly.
Coding is not for everyone, but imitate at your leisure.