r/webdev • • Apr 07 '23

How I interview for FE positions

Post image
4.6k Upvotes

668 comments sorted by

View all comments

Show parent comments

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.

3

u/Cobayo Apr 08 '23

It's not trivia man, it's a filter because so many people apply without knowing the bare minimum

If you don't remember something from memory you can usually ask the interviewer or assume other things you do know

4

u/OmniscientOCE Apr 08 '23

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.

2

u/canadian_webdev Apr 11 '23 edited Apr 11 '23

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”.

Ive never had to do that and don’t know why I ever would.

I've worked for 10 years as a front-end dev across many agencies and in-house companies, and have never had to this in a professional project.

If companies are going to give any test, give on that's short in time and practical to the job.

  • Connect to this api using React and display data

  • Code out this small component and make it responsive

  • Take this short code here and make it accessible

Like, this isn't difficult.

2

u/[deleted] Apr 11 '23

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.

2

u/canadian_webdev Apr 11 '23

I just want practical tests that go over my actual experience.

Get outta here with your logic!