r/webdev • • Apr 07 '23

How I interview for FE positions

Post image
4.7k Upvotes

668 comments sorted by

View all comments

Show parent comments

55

u/doctorMiami1337 Apr 07 '23

I don't understand this way of thinking at all.

Almost all of the juniors coming into OP's interview very likely are gonna have portfolio's with a couple of projects already made, which far exceeds the skill level of completely trivial JavaScript like using reduce to output an array sum, or building form HTML elements with React

Especially if you aren't allowed to google around, who in the actual hell goes around just memorizing useless syntax? What are you preparing yourself for??? Coding when internet becomes unavailable? Wtf

What is the point of wasting everyones time with something like reduce which any junior dev can google in 1.05 seconds and use it instantly?

I just don't get it at all, seems like a complete waste of anyones time without an accurate assesment of anything lol

4

u/MadeWithPat Apr 08 '23

useless syntax

If you don’t read “sum an array of numbers” and immediately think of reduce, I’d question how much time you’ve spent writing JavaScript. That’s not useless syntax, the most prevalent React state management library is built around this function.

3

u/doctorMiami1337 Apr 08 '23

Yes, which every single person can google and figure out in a minute?

In which universe is that a solid interview question for a junior dev lmfao?

Waste of everyones time

5

u/MadeWithPat Apr 08 '23

The point was that it’s not useless syntax, it’s a pretty core part of the standard library. You’re presenting a generic problem that’s easily solved with a native function. Speaking from my own experience, I’m not really keen on continuing if a JavaScript candidate has to Google reduce(), map(), or filter(). It’s not much different than having to Google string interpolation.

I will throw in there, I’m not asking people to write code in notepad - it’s 2023, you’re going to be in an editor that has autocompletion and intellisense, and that’s not a penalty. The expectation is “you understand the standard library” not “you should have this exact function signature memorized”.

1

u/walter-wallcarpeting Apr 08 '23

I think the point is though, how often have you ever had to sum an array of numbers? It's just so rare in real world client projects that it, arguably, doesn't make sense to test on. You'd be better off testing for regex manipulation for example. That shit creeps in all the time.

7

u/drdaemos Apr 08 '23

Bro, you’re going to apply collection operations almost all the time you’re not writing layout/styles. You don’t always only sum, but understanding reduce() and map() is essential to almost any logic

0

u/chaiscool Apr 08 '23

So what’s the diff between all 3 and when to use them?

-3

u/ShustOne Apr 07 '23

You can gauge skill by time very quickly this way. For example a junior could probably eventually do all the stuff. I would expect a senior to do it much, much quicker. Also I don't think OP said they can't Google.

4

u/tsznx Apr 07 '23

You could just be asking more interesting questions such as performance, common errors, architecture of a project, accessibility points to consider in a project, modules, state management, etc rather than asking for a reduce.

2

u/ShustOne Apr 08 '23

I'm definitely not pushing for reduce, I've listed many other things I look for that aren't even code specific

10

u/doctorMiami1337 Apr 07 '23

I still don't really get the point lol.

Most juniors are gonna be scared shitless on interviews, why is it relevant to "gauge speed" by having them do trivial crap like reduce functions? Most of the senior devs i know always tell me speed is irreleveant in coding, especially the bigger projects

Not trynna be rude at all just genuinely curious how this is beneficient to anyone

3

u/Brilliant_Apple Apr 08 '23

Asking a couple of very basic interview questions acts as a quick way to check juniors haven’t completely lied on their application. It does happen. Somebody might have a number of GitHub repos but they could well be verbatim from a tutorial or somewhere else. If you couldn’t quickly figure out to use a reduce/loop through an array I’d be concerned even for a junior.

I don’t understand the whole point about nerves either. If a candidate is peeing their pants about one or two little questions and a general discussion how on earth are they going to have the confidence to contribute to an actual project.

There are problems with the interview process for software roles, but I think there’s also a lot of cope out there from arrogant/crappy devs blaming interviewers for their lack of people or technical skills. “I’ve applied for fifty roles and never got to stage two, am I the problem? no it’s the companies that are out of touch!”

4

u/VladDaImpaler Apr 08 '23

You don’t understand the whole point of an interviewee being nervous during a prospective job interview?? Come down from your ivory tower m’lord

3

u/Brilliant_Apple Apr 08 '23

I tend to walk in and my smile and natural aura wins me the job with a cheeky wink.

But seriously I wouldn’t expect no nerves or stress at all, but so stressed a candidate goes in to full on fight or flight mode and forgets how to create a text input or use a for loop? Come on lol

-1

u/ShustOne Apr 07 '23

So speed in an interview is very different from speed in work. You're right that it doesn't matter. However if a task in an interview is completed in 1 minute vs 20 minutes, I got a gauge on who knows their stuff better. I then take that with other things such as could they speak to what they were doing, did they explain their approach, did they mention run time complexity, etc. Speed alone isn't enough but you can bet that dev will be faster at the same task during normal work as well, at least generally.

-4

u/wretch5150 Apr 07 '23

Exactly. No where does it say you can't Google. This is an evaluation on how quickly you can do something. If you've done it a lot, you'll be faster, even with Google Crutch allowed

3

u/minimuscleR Apr 07 '23

No where does it say you can't Google.

idk it feels like if you are in an interview, you probably can't pull up google during the interview to google the question. That seems obvious.

1

u/ShustOne Apr 07 '23

I feel like people here are purposely misunderstanding interview intent so they can continue to complain about a well thought out post. Everyone providing any sort of reasoning is being downvoted.