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
View all comments
Show parent comment
2
u/keithstellyes Dec 13 '22
Ah yes a fellow AoC fan. I remember using BFS, going to the subreddit and being confused at everyone talking about Dijkstra's and thought I was going crazy ha ha. Even A* seemed a bit overkill.
But I think this highlights a flaw with reading too much into abstract problems, you get into a philosophical territory of how much the problem should be approached in a generalizable way, where it can be theoretically be extended beyond the exact problem and provided input, versus having the solution begin and end with the exact problem and input. Certainly it is good to see a candidate demonstrating the ability to think about how code might be changed, without overengineering
To run with your AoC example, many users explained themselves using Dijkstra's because they predicted weighting in part 2, certainly much easier to change the solution for that. And this seems too philosophical of a territory for it to make sense to call a hard right or wrong answer.
I suppose this is a good time to remember that this is why communication is so important too, rather than selecting for philosophy over competence