A lot of companies prefer pair programming so they can talk through problems with a candidate, both to get a feel for how they approach their work, and to make sure they aren't blocked on anything, given the limited amount of time. Was your interviewer talking with you while you paired?
The screen is a one hour onsite pairing session followed by a final round that is a day of pairing using a proper workstation: One computer, two monitors and two sets of mice/keyboards. You pair with one person in the morning and another in the afternoon. It's very relaxed (you take turns "driving") and it gives you and the interviewers a lot more information about each other and your potential place of work. It also gives you enough time to adjust to the process if you are nervous. I don't think I'd do it any other way going forward.
If anyone knows of any well run consulting outfits that work with remote workers, practice pairing, TDD, and just all around "giving a shit" I'd welcome pointers.
Thanks!
That said, our best hire was the one person who rose to the occasion and solved the problem we were asking. For that reason, I would do it again.
Edit: it may also mean the company you are interviewing at does pair programming. If you don't like pair programming, the interview is a good time to bring it up!
Usually companies who engage in these practices have tendencies to micromanage their personnel down the road.
Red flag.