This is the kind of thing that gives programmers a bad name of being anti-social buffoons. In a programmer's mind they're simply being logical or efficient. Just because it's logical doesn't make it sensible.
This could be handled much better by somebody with even a shred of social skills. If he didn't think it was a good fit he could have requested to talk to the lead or hiring manager and expressed his concerns. They may mutually agree to end the interview. Perhaps if the company really wanted this guy they would start figuring out ways to possibly make it work. Or they may have ended with a handshake and parted ways on good terms. Just declaring "I'm done" like this brainiac and asking for the door shows that, though he may be a smart programmer, he has zero social skills.
This could be handled much better by somebody with even a shred of social skills. If he didn't think it was a good fit he could have requested to talk to the lead or hiring manager and expressed his concerns. They may mutually agree to end the interview. Perhaps if the company really wanted this guy they would start figuring out ways to possibly make it work. Or they may have ended with a handshake and parted ways on good terms. Just declaring "I'm done" like this brainiac and asking for the door shows that, though he may be a smart programmer, he has zero social skills.