3 ms·
>A bad interview is when you ask them the definition of some specific thing in some specific framework like “Tell me what a closure in javascript is.” then trea
by EE84M3i 5y ago
>A bad interview is when you ask them the definition of some specific thing in some specific framework like “Tell me what a closure in javascript is.” then treat them like they’re stupid if they don’t know.
Is this a good example? Isn't "what is a closure?" more of a smell test "do you know the language" question?
Maybe asking "oh you know python? Tell me how to implement and use a metaclass" without access to the documentation would be a better example.
- hnfong 5y agoDamn. I've been coding in Python for 10+ years and never came across this "metaclass" thing. Starts wondering whether I'm rusty and un-hireable. Curious what it is, I read the first result on Google, which goes through an example that I don't understand the point fully, and it concludes with "metaclasses can easily veer into the realm of being a “solution in search of a problem.”" Oh well, good luck hiring python devs :) I'd agree more on the closure part in javascript though.
- EE84M3i 5y agoYeah, I meant this as an example of a clearly absurd "off the top of your head" question, which I believe "what is a closure" is not.