> We could have been "nice" and held up the delusion that we were still considering them, and let them down later with some vacuous corporate platitude like "you were great but we ultimately gave the role to a stronger candidate". Providing instant feedback that their skills were just not up to snuff is not 'nice' but it's more compassionate in the long run
You're right, however
> At one point I said literally, "You know this interview is for a C coding position, right?"
This is absolutely not the right way to go about it.
It's completely fair to say "hey, thanks for your time but we really need someone with C experience and we don't think you're a good fit for what we're looking for", but that's not even close to what it sounds like you did
You can cut an interview short and make it clear they won't be considered without being a huge asshole about it
I wouldn't judge based on the limited context we've provided.
I've interviewed candidates for jobs requiring highly specific skills who claimed to have those skills, but in the interview they kept trying to divert the topic to something else. An analogy would be bringing someone in for a C interview and they keep trying to write all the answers in Python and pretend that C and Python are interchangeable.
So some times, asking the candidate if they know what they're interviewing for is really called for. You want to be sure the person understood the interview, not that they were confused by the questions.
Welp, this was 20 years ago and I was 25, and literally no one ever gave me any instruction on how to conduct interviews (over my entire career). If I was a "huge asshole" to this person, then I'm sorry, that wasn't my intent, and I hope they're doing well and weren't too negatively impacted by my attitude.
To be honest though, the whole corporate world is institutionalized assholery, from giving candidates take-home coding assignments and then ghosting them, to laying people off without even giving them a chance to say goodbye to their coworkers. The entire leadership of that particular startup was assholes through and through. It's difficult to maintain one's humanity in the face of that (esp at a young age) and I'm glad to be out of that game.