3 ms·
To me this is not a good test. It is a Python gotcha, and nice if you recognise it, but this definitely does NOT give you any indication of whether or not this
by andrewstuart 10y ago
To me this is not a good test.
It is a Python gotcha, and nice if you recognise it, but this definitely does NOT give you any indication of whether or not this person is a good programmer.
What can be said is that if someone recognises this isssue then likely they are a good Python programmer. But the converse is not true that all good Python programmers would recognise this, and therefore this is a test that potentially eliminates a bunch of good programmers. That's a bad test.
This test allows the interviewer to feel smug about how much smarter they are than the interviewee. LOTS of interview tests are set up that way. "Oh, you don't know some very specific thing about your primary programming language? Then (jeering) you're not very good are you!! I know that and you don't!". That's not skills evaluation, it's ego wrapped in the guise of skills evaluation.
This is "trick oriented recruiting" and not far removed to me from asking how many ping pong balls would fit in a 747.