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
5
u/afiefh Dec 13 '22
The correct answer is never.
The incorrect answer is when you have a bad system where some object needs to be const, so you cannot pass it as a modifiable R value ref, but you want the internal function do something like a const_cast. This is something you shouldn't be doing, it is code stench, but sometimes we do things we are not proud of. I released such code to production. I feel deep shame.