I hate them too, and I've been on the other end of them where I just had a complete brain-fart and whiffed it.
But damn, you would be amazed at how useful they are to weed out people who are clueless.
In this case we weren't going for a gotcha, it wasn't any sort of trick question. It was a very basic 2 or 3 line function to take a vector and an angle and perform a transform on it, and return the result.
It would be one thing if someone were looking for a junior gig and would expect a lot of hand-holding. It's something entirely different when they think they're a mid-level developer, and they have this perception only because nobody in their lives have ever told them that they don't know anything.
I hate them too, and I've been on the other end of them where I just had a complete brain-fart and whiffed it.
But damn, you would be amazed at how useful they are to weed out people who are clueless.
In this case we weren't going for a gotcha, it wasn't any sort of trick question. It was a very basic 2 or 3 line function to take a vector and an angle and perform a transform on it, and return the result.
It would be one thing if someone were looking for a junior gig and would expect a lot of hand-holding. It's something entirely different when they think they're a mid-level developer, and they have this perception only because nobody in their lives have ever told them that they don't know anything.
I have never sat on the other side, but I understand why they are used nonetheless. Though I still hate them.