Three things to consider: (Or not, of course.) 1. Practice. Failure is excellent, it indicates you are practicing. If you gave up learning to walk the first time you fell, you'd still be crawling about. 2. Play with whatever you're doing. Play is simply trying something and noticing what happens. Give up judging good/bad results, just play and see what happens. Give up being attached to a particular result, just try something and see what happens. 3. What if you're not the only programmer in the world who ever felt this way?