if a person can't code in front of another person it is just because they can't code at all.
This is not true, as long as you're willing to wiggle on "can't". I do pretty poorly at coding while someone else is watching, because it takes most of my attention to code, and if there's a social situation going on, too, there's usually not enough left. The less well I know the watcher, and the better the watcher is at what I'm doing, the worse I do. This is true for finding bugs, too; having someone trying to find the bug on the same screen as I am means I'm almost guaranteed to fail to see it before they do. Fortunately, after 30 seconds or a minute of fruitless looking, most people will go back to their desk and let me actually get on with it, and then things get done. :)
I specifically made an exception for anxiety issues. In fact, it was the first several words of the sentence you are quoting. In fact, it is the only part of the sentence that you didn't quote.
Your ability to read the opposite of what is said intrigues me. Are you a birther by any chance? :P
I removed it to quote only the bit I was referring to, since I didn't think a phrase that seemed equivalent to "medical problems aside, ..." would matter; I wasn't referring to anything I'd characterize as an "anxiety disorder", or, indeed, any kind of medical issue at all. I'm also not quite sure how my explanation came across to you as a signal that I was unwell. :)
This is not true, as long as you're willing to wiggle on "can't". I do pretty poorly at coding while someone else is watching, because it takes most of my attention to code, and if there's a social situation going on, too, there's usually not enough left. The less well I know the watcher, and the better the watcher is at what I'm doing, the worse I do. This is true for finding bugs, too; having someone trying to find the bug on the same screen as I am means I'm almost guaranteed to fail to see it before they do. Fortunately, after 30 seconds or a minute of fruitless looking, most people will go back to their desk and let me actually get on with it, and then things get done. :)