Those are exceptions, if it was common to get these kinds of questions I would have gotten at least one like that at one of the many interviews I've been in. Getting rid of coding interviews won't stop some interviewers from being jerks. I much prefer being rejected for bombing a coding interview, than killing it and then getting rejected because of the behavioral interview, where someone 20 years younger than me acts like they can figure me out by asking me a bunch of silly questions.
First you deny the experience then when presented with evidence--the types of interviews people complain about are just rare.
>Getting rid of coding interviews won't stop some interviewers from being jerks. I much prefer being rejected for bombing a coding interview, than killing it and then getting rejected because of the behavioral interview
The same thing applies to your point. Coding interviews don't replace those issues they just add another hoop. What do you think behavioral questions, lunch interviews, and culture fit are?
>where someone 20 years younger than me acts like they can figure me out by asking me a bunch of silly questions.
Based on what I've observed this is what currently happens. 99% of companies have a terrible process for developing questions and evaluating responses.
And programming is pretty much the only field where it's the norm to be interviewed by someone much younger than you.