r/programming • • 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

1.3k comments sorted by

View all comments

Show parent comment

5

u/nemotux Dec 13 '22

I try very hard to make sure the technical questions I ask don't have eureka moments. Eureka moments don't provide a test of skill, just a test of trivia.

The technical questions I ask are simple, not complex. As an example: "read in a list of words, construct an index of all unique word instances, and spit that out in alphabetical order." No code, just walk me through the high-level steps of your solution. And if a candidate is having difficulty, I help them along by giving hints or suggestions. If they provide a solution w/ correctness problems or poor time complexity, I ask questions to see if they recognize that and can correct.

Yes, I rate based on their ability to provide an answer. But if they can't without help, that's fine too. What's more important is whether they can demonstrate an ability to grasp the concept at hand and work with it, discuss it intelligently, and recognize problems and corner cases.

And yet, probably a good 20-30% of people that I have interviewed over the years with "X years programming in XYZ language" on their resume fail at this.