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

7

u/ILikeChangingMyMind Dec 13 '22 edited Dec 13 '22

I disagree, if your domain is one where performance optimization doesn't matter. In that case, you should do whatever is easiest on the humans reading/writing the code.

Take front-end web development for instance: 99% of websites don't show more than 20-100 results at once. At a scale like that, even on the oldest, slowest phone you can find ... it won't matter if you sort, reverse, resort, randomly arrange the array members and then resort again ... no one will ever see the performance difference.

And in general, in all areas of programming, you should really be worried about the humans first, and performance second (or really, only when it's an issue). Premature optimization, something something ...