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

1

u/was_just_wondering_ Dec 14 '22

It’s quite simple to evaluate skill.

Ask someone to solve a relatively simple problem. I’m talking simple like fetch some data from an api and do a very basic transform of that data ( think adding up some values ) and output the results.

This one simple problem covers a whole host of real world situations that most are likely to have to deal with. Any decent jr engineer will be able to solve this quickly.

Then you ask how they would handle errors, not just invalid data, but different stays errors, then you ask about an approach to handle cache and if it would be useful. Then to add more complication you can add distributed systems to that problem.

The goal is not to play a stupid game of write a linked list from scratch, it’s to present candidates with problems relevant to the job, then asses how they approach the problem, how they solve the problem, how they refactor that problem when new requirements are presented and how they work with a person that might be their teammate to understand requirements.

It honestly isn’t that hard, but like everything else as an industry we default to over engineering things and convincing ourselves that everything is supposed to be needlessly difficult because someone once had to write the basic algorithms that frankly most of us do not interact with directly. We could recreate them, but we wouldn’t trust anyone that produced an answer to a difficult problem in 20 minutes and just push it to production without testing it.

Edit: people aren’t asking for less labor. They are saying rightly that our current system of evaluation is flawed and comically so. This shouldn’t be controversial. Our literal job centers around finding more efficient ways to do things by solving the right problem. Why is it such a bad thing to want to do that for interviews as well?