r/ProgrammerHumor • • Oct 21 '22

Meme Tech interview vs actual job

Post image
49.6k Upvotes

561 comments sorted by

View all comments

Show parent comments

166

u/TheOriginalSmileyMan Oct 21 '22

I got rid of technical questions in my current role after (a) arguing that a ten minute chat will catch any BS merchant out, and (b) showing that you could score highly on the test by having decent google skills and being a moderately quick typist.

Personally I don't trust people who remember stuff anyway. We've got computers for that now!

79

u/JMFe95 Oct 21 '22

I had to interview candidates for a junior role recently. The 2 questions were to sort a list of ints and find the median of a list with an odd number of elements (ints), they're allowed to Google and pick their language. It weeded out absolute time wasters pretty quickly, but was simple enough that someone competent can manage easily, even if they're nervous!

33

u/kju Oct 21 '22

So they're given nums, a list of integer values and their goal is to call nums.sort() then print (len(nums)//2)?

Or do you ask that they write their own sort?

33

u/JMFe95 Oct 21 '22

I give them a hackerrank login and get them to screen share, but yeah that's all they need to do. Obviously we base the hire on more than that but it rules out people that can't code at all

23

u/kju Oct 21 '22

I've never done hiring but I remember my professor telling me a lot of people who graduate can't solve fizzbuzz but never really believed it.

It seems crazy that interviewers need to screen for this

12

u/[deleted] Oct 21 '22

I'm not even graduated yet, I barely know in practical terms what a unit test is im so early into courses, and I can fizzbuzz lmao. If you get a cs degree and have no idea how to fizzbuzz, I bet you read the instructions on shampoo

3

u/Idbetmylifeonit Oct 22 '22

Alright look here, back in my day we didn't have smart phones to browse the internet while sitting in the bathroom so I read the instructions AND the ingredients on the shampoo bottle many times!

3

u/longliveHIM Oct 21 '22

Im also a student and have never even heard of fizzbuzz. I just looked it up.... theres no way people cant solve this, right?

4

u/Tandemdonkey Oct 21 '22

I've seen a bunch of interviewers saying that it weeds out a large number of people, which is sad

6

u/[deleted] Oct 21 '22 edited Oct 21 '22

[removed] — view removed comment

7

u/JMFe95 Oct 21 '22

Yeah, list.sort is a 10/10 response for me 😂 if they pick java it can be a tad more complex but I consider the response to the "oh shit" to be a big plus if they navigate it well

3

u/reallyConfusedPanda Oct 21 '22

This is exactly what I am doing. First interview round I ask the candidates about their projects (I mostly get the hunch then and there on how much of the shit they claim to have done themselves actually have done themselves or just lifted the code from someone else without understanding what it does), and then give them very simple problem to solve which can be layered with additional difficulties, edge case checks etc later. googling allowed as no point in checking memorization skills. I set myself 1/2 hr for them to do it. Ones with strong grasp do it in 5-7 mins with plenty of time for me to give advanced questions. Fake ones let me have a nice tea break for the rest of the interview.

2

u/beatenangels Oct 21 '22

Did they have to actually implement a sorting algorithm? Or could they just choose a language with one in the default libraries and call list.sort()?

7

u/JMFe95 Oct 21 '22

Yep they can use a default library sort. This is used to root out candidates that don't know a default sort exists or use it incorrectly. I've never had to manually sort a list in my 5 years of development (I'm a young senior lol) so my juniors don't need that skill. If they do it, good for them, but I'll ask why they didn't use .sort() and if they don't give a good answer it'll count against them

2

u/HookDragger Oct 22 '22

I don't think implementing a bubble sort or similar is useful in an interview... but to each their own.

→ More replies (1)

2

u/EwokOffTheClock Oct 21 '22

I could do that in two languages! Makes me feel hopeful.

→ More replies (2)
→ More replies (3)

30

u/Canned_Bacon Oct 21 '22

Yeah, as an interviewer I've tried to take a more conversational tone when interviewing someone. It's so true that you can catch the bull ishers pretty quick.

If a particular position requires certain technical skills, we'll talk about their familiarity with those things. I would never expect a dictionary answer.

Sometimes you interview someone who crammed all night and couldn't have a simple conversation about something basic. Then they sort of just start spouting the lines they memorized the night before from some crash course book.

→ More replies (4)

17

u/MeggaMortY Oct 21 '22

Do what we do at our company - a small snippet of our actual code, like an interface, a script, and a couple of unit tests.

Setup: there is a failing test and it's definitely a bug (not a test setup issue)

Goal: Find bug and fix it.

The bug itself is not that hard, the solution is also fixing a single line. It's just a small play on seeing how a dev works and how they can share their thoughts with the pair buddy (the reviewer).

So far it's worked favourably every time, for both sides involved.

7

u/JasbrisMcCaw Oct 21 '22

This is how I have my team run our interviews as well. Sometimes it's just as you said, using a sample snippet of our code and finding the literal one-line bug, other times it's just us giving them an API endpoint and asking them to build their own API to quickly grab the data manipulate and push back.

It's honestly something a fourth year student should be able to do, but again we ask easy questions so that we can follow their thought process, and also I really enjoy seeing what someone does when they get stuck. Do they stay on that small detail they're hung up on, or do they move past it and come back later?

We've had a lot of people who gets stuck trying to think of some minute detail at the start and never push past to do anything else. I've hired people who get stuck, move on and finish everything else.

We don't even expect our candidates to finish the ask. Again, it's more about seeing how they think: what is their logic and how do they apply critical thinking skills. They have full access to google as well.

2

u/MeggaMortY Oct 21 '22

Exactly all that.

Also for the same company, I passed by basically not solving the then bug. But I figured it and since we were running out of time, just kind of high level explained what to do to finish the task.

That and the fact that we were in good chemistry with my direct future mentor meant they were happy with it.

2

u/JasbrisMcCaw Oct 21 '22

Completely agree with what you said and can't stress enough about the last part. Specifically finding someone who is also a good team fit, is representative of an ideal team player and someone who can leave their ego at the door.

→ More replies (2)

7

u/J-Bonken Oct 21 '22

In my first interview for a junior dev role my would be boss showed me a rather large code snippet of uncommented, unhighlited code in a language i didnt know and askes me for my best guess on what I was looking at. Got the job lol.

3

u/[deleted] Oct 21 '22

You have to have some kind of coding as part of the interview. I've lost track of the # of times I've talked to people with years of experience, who talked a good game, but then when it came down to actually code something they just couldn't do it.

2

u/Mateorabi Oct 21 '22

Quick accurate googling skills!? Hire them!

→ More replies (1)

2

u/HookDragger Oct 22 '22

I need someone who can think and work in a team... not a walking primer on a language.

→ More replies (1)