I've never had to write any code at an interview. Amusingly enough, I think one of the biggest problems with places where I've worked is the lack of difficult interviews. All they ever do is ask you about your resume.
One time, I had a fellow coworker ask another about a Boolean statement. I went and took a look, and this wonderful conversation took place:
Me: You're using a single equals when you should be using a double.
Them: No, I think that's right.
Other Coworker: I think it'll work.
Them: Yeah.
A month later...
Them: Oh, I fixed a bug in my code! I was using a single equals!
:|
At least they seemed civil. I've had interviewers argue with me when they were wrong and I was right about a solution. There are obviously two sides of an
interview -- the interviewer(s) and interviewee. I won't tolerate rude interviewers any longer especially when they're wrong. Below is a repost of a post I made a few years ago describing the worst
interview I ever attended as the interviewee:
"Several years ago, I interviewed for a network engineer position with a very well known manufacturer of computer cables, peripherals, wireless products, etc. The first 3 or 4 rounds were a breeze. They finally flew in the IT manager and director from their HQ for the final interviews. They were condescending and rude and asked stupid questions and the director, who was very impressed with himself, always had to tell me what the "correct" answer was even though his questions made no sense and by his own definition, weren't solved by his answer. The IT manager mentioned some of the Active Directory issues they were having and I told him how to fix it and he argued with me over the solution! Keep in mind I designed an AD infrastructure for a Fortune 500 company with 40+ global sites, so I knew what I was talking about and had seen my solution work.
So, I was fed up -- I knew I wasn't going to get the job, so I decided to have fun with it. At the end, when they asked me for questions, I
nailed them to the wall and completely embarrassed and humiliated them. One thing they were bragging about earlier in the
interview was their customer
satisfaction scores for their
help desk -- it was 80%. So when it got to my turn to ask questions, I actually said this:
"You mentioned that your
help desk customer
satisfaction score was 80%. Quite frankly, that is a terrible score and wouldn't be tolerated anywhere I've worked in the past. People would be fired or reassigned. How do you plan to remedy the situation?"
Their jaws hit the floor -- it was GREAT! I just kept nailing them with stuff like that. I figured if they didn't have respect for me, I didn't need to have it for them. At the end, I recommended to the manager that they hire a consulting firm to
help with their AD issue since they couldn't solve it on their own.
The funny part is that these guys were hiring these positions because the previous people they hired were an absolute disaster. So yeah, these guys REALLY had the right to act like they knew how to pick employees. "
I had a job at the time and didn't need another, so I had nothing to lose and these guys were such major assholes that I had no problem doing this to them. One guy argued with me over branding of one of their products and was rude about it -- I was just mentioning something that the HR person and I had discussed and he told me I was wrong. I said "Oh, well I'm sorry, that's just what the HR person told me. Maybe I misunderstood." When he was persistently rude after that, I decided the branding argument wasn't an isolated incident and I wasn't going to take their shit.
One of his actual questions was: "If you interviewed twins and they had EXACTLY the same qualifications (even exactly the same personality), which ONE (my emphasis) would you hire?"
I told him that would never happen and I would hire the one that meshed the best with my team in the interviews. "Well, it HAS happened to us before! Which ONE (again, my emphasis) would you hire?"
He finally said "The correct answer is to hire both!" Uh, no dipshit, you said I could only hire ONE. This ignores the fact, of course, that I wasn't even interviewing for a management position. To this day, I refuse to buy their products and this
interview was 10 years ago. "
The point is, people should be respectful in an interview and ask questions RELEVANT for the position. If you're rude to me in an interview, you're going to get called on it. I have the skills and experience to back it up and can find another job easily.
I personally have no issue with BikeJunkie's posts in this thread and agree with him. If you come to an interview in jeans and a polo shirt, you'd better nail every question perfectly or otherwise impress the hell out of me for me to hire you. Likewise, ALWAYS take a notepad and pen to jot notes on. When I am on an interview, I'll take notes when speaking with the interviewer and use those notes for questions at the end. Finally, ALWAYS ask questions at the end. Research the company and if nothing else, ask them about their main competitors and ask the interviewer his/her opinion of the biggest challenges facing the company over the next 2 to 5 years.
One more pro-tip -- always do phone screens, as they will save you a huge amount of time weeding out candidates.