It's another version of the Peter Principle.Live coding interviews are the worst. Not everybody codes in real time. Code quality and code speed are not proportional either. Why not ask to look at code from previous projects instead and talk about the software architecture Andwhy it was done that way?
why are so many interviewers incompetent?
Most people are not formally taught how to interview and recruit. It's mostly cultural knowledge that is not questioned.