r/programming • u/[deleted] • Dec 13 '22
“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.'
https://devinterrupted.substack.com/p/treating-devs-like-human-beings-a
9.0k
Upvotes
2
u/novagenesis Dec 13 '22
Hmm... It's got more approaches than the questions I've used in the past (and that were quite successful). The only goal I have is that there cannot be more than "N" requests outstanding at any one time.
But looking at your "find second highest number in array" example, I want to point out that I'm not really hiring for a junior role (though I've had juniors answer harder).
As for your value points:
Multiple approaches - check. I allow any language and each language I am aware of has at least 2 or 3 meaningful strategies... and sometimes they differ, though the strategy of one language will usually work in the other. There's a best way most of the time, but I won't take points off for not seeing it. My plan was for candidates to get a way (even if it doesn't get past pseudocode) and discuss optimization to get a feel for the way they think.
Ambiguity that should lead someone to ask - Yup. One of my candidates even started asking about whether there should be a minimum of N concurrent requests when possible.
Frankly, I've always worked at companies that value concurrency more than other things, so I've always been on both sides of concurrency questions. I'd love to get a more actionable understanding of your problem with the one I use so I could improve it, but simply redirecting to the entry-level questions you mentioned above seems a bit underkill to me.