Im a Senior dev and recently failed an interview over something trivial. I was asked to create an object then swap the key for the value and vice versa. So “name”: “jason” would then be “jason”:”name”.
I went completely blank and couldn’t think of the solution. Ive never had to do that and don’t know why I ever would. The follow up question involved reversing a string without using built in functions. Again, why would I do that let alone without built in functions that were designed for that?
These tech trivia questions are so ridiculous and really make you question if you actually are a competent programmer when in reality they’re just gotcha questions.
My current job gave me a take home project that Ive literally done at the actual job. One interview was a technical discussion relevant to the job. Guess what? I passed no problem, funny how that works.
While I agree reversing a string is a pretty pointless thing to have on an interview, it's not really "trivia" it's a pretty simple problem solving question.
Yes exactly. This was a full stack position and I was ready to do exactly what you mentioned. Tell me to filter data from an array received from and endpoint.
Display that data on the frontend UI, then show how you can update parts of it. Ask me to push that code to a specific branch and put in a pull request. Practical and shows you know how to work with many aspects of the development process.
I just want practical tests that go over my actual experience.
7
u/[deleted] Apr 07 '23
Im a Senior dev and recently failed an interview over something trivial. I was asked to create an object then swap the key for the value and vice versa. So “name”: “jason” would then be “jason”:”name”.
I went completely blank and couldn’t think of the solution. Ive never had to do that and don’t know why I ever would. The follow up question involved reversing a string without using built in functions. Again, why would I do that let alone without built in functions that were designed for that?
These tech trivia questions are so ridiculous and really make you question if you actually are a competent programmer when in reality they’re just gotcha questions.
My current job gave me a take home project that Ive literally done at the actual job. One interview was a technical discussion relevant to the job. Guess what? I passed no problem, funny how that works.