"6. Do not seek professional help - you are normal for your age."
But people throw years of their lives away thinking this when, in fact, they have a real problem. Seeking consultation from a professional is the low-risk, potentially high reward choice.
Age 30, sure. Age 21, when you are still figuring out who the real you is... not sure that helps or hurts.
At his age he'd be better off reading some good non-tech books... Catcher in the Rye, Siddhartha, Fountainhead, a Taoism book... maybe a Philip K. Dick book or Vonnegut for some fun.
Maybe it's just me but I haven't run across too many mental health professionals that really seemed to know what they were doing. It's like chiropractors - there are a lot of them that are doing more harm than good it seems.
1. This is 100% mental; beating yourself up mentally internally or otherwise only contributes to the problem - try the opposite. 'Meditate' on positive thoughts (or even a single thought) when this crops up. Self-doubt is the mind-killer; never forget that.
2. Everyone is good at a thing or two - for me it's hockey and music (well other than coding of course) - focus on the positives that those bring into your life when you feel your self-worth going south. Make a habit of reminding yourself of the things that few people can do better than you.
3. Start to exercise regularly. It's amazing how effective regularly releasing endorphins into your bloodstream is. Plus, it helps boost your self-confidence.
4. When you go out for lunch, groceries, errands - whatever- make a habit of striking up a conversation with a total stranger or a group of strangers (yes, it is scary actually). I do this when I'm at lunch alone, often talking with someone, or a group of people sitting near me. No your waiter/waitress or bartender does not count. I find that it forces me out of my 'shell' and I usually learn something interesting as well (people are pretty interesting if you give them a chance it turns out). BTW, when I chat people up at lunch or in the line at the bank, grocer store, wherever I never consider who they are or their age... aka, I'm not just doing this with women I may be interested in, or just guys around my age... I'll strike up a conversation with an older women, teens, a family, whomever. It's a great way to break out of your natural introversion shell and it's interesting to see what 'normal folk' think (cause let's face it - Hackers are not normal folk at all).
5. The more comfortable you are with yourself the more comfortable you will be around others; the opposite is also true.
6. Do not seek professional help - you are normal for your age. If anything you might want to look into something like David DeAngelo's books/vids, which I've recommended to several friends who recently divorced (which your situation is oddly similar too I might add - it's a very isolating period for most men); DeAngelo 'preaches' a lot about developing a stronger mental/inner 'game', honing your social skills and above all being confident (and funny) in who you are - if you can master just that - being confident and funny - you will be a whiz in social situation in no time.