| I've been doing this for 30+ years, and I've found the same. It's not just whether the candidate can answer correctly, but how they answer. Back when I was doing C/C++ interviews, I'd ask questions like: What's the difference between single and double quotes? A meh candidate answers something about you need single quotes for just a single character. A good candidate answers about how the data type for a double-quoted constant is a char. If I want to pass a variable into a function, and have its value changed by the function, what do I do?* A lousy candidate says "put an ampersand in front of it". A meh candidate says to pass a pointer to the variable. The best candidate will talk about the difference between call-by-value versus call-by-reference. People really do reveal a lot about themselves not just in what they say, but the way they say it. |
I agree it's good for a candidate to demonstrate a solid understanding of evaluation strategies, but the way you phrased the question, the 'meh' answer seems about right. You asked what do I do? which invites a narrow answer specific to the language.