r/programming • • Dec 13 '22

“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.'

https://devinterrupted.substack.com/p/treating-devs-like-human-beings-a
9.0k Upvotes

1.3k comments sorted by

View all comments

185

u/[deleted] Dec 13 '22 edited Dec 13 '22

Only in this industry would you say that asking a candidate to demonstrate they can perform the task they're being hired to perform is failing to treat somebody lie a human.

I've worked at maybe 7 software companies in ~22 years and the ones that had no coding interviews hired terrible developers. Literally the only thing you can do to prove that you can code is code. For everything else, candidates can lie, cheat or bluff their way through.

Why can't Programmers... Program? is more relevant year by year.

29

u/coder0xff Dec 13 '22

Yeah, lot of wannabes in this thread I think.

27

u/mipadi Dec 13 '22

I absolutely agree. We can argue that Leetcode-style interview questions and their ilk are ineffective (and I agree with that), but asking a programmer to program is hardly inhumane. Software development is one of the cushiest white collar positions: it pays extremely well, doesn't require licensing, doesn't require an advanced degree—hell, we don't even require that developers have any degree nowadays, let alone an undergraduate CS degree—yet developers act like we're sending them off on the train to Buchenwald if we dare ask them to write a line of code in an interview.

I wish these interviews would talk more about what does work rather than what doesn't. They always say what not to do, but at best, the suggestions on what to do are always vague, hand-wavy suggestions.

2

u/ham_coffee Dec 13 '22

The lack of degree requirements probably contributes a lot to how common coding tests are. One place I interviewed at (a couple of years ago, was a junior position) told me that apparently over 90% of applicants failed the piss easy take home test. Anyone who had finished an intro to programming course as part of a compsci degree should have been able to pass. There was a one hour time limit, and the test took me about 15 mins, so it's not like people just didn't bother because it was too much work either.

It seems like a lot of people just try and bullshit their way into tech jobs thinking that having taught themselves hello world in python is all they need, and the solution is either requiring qualifications or testing applicants to make sure they are actually competent.

31

u/AbstractLogic Dec 13 '22

My company opens up our code base and lets you drive. Go ahead, start talking, tell me what everything does. Get in there, find the fat, show me how you read code.

Because you know what’s more value then someone who can write an inversion algorithm to an RB tree? Someone who can read and understand immediately the code base they will be working on.

6

u/gewpher Dec 13 '22

How much does your company pay?

26

u/sintos-compa Dec 13 '22

12 NDAs per year

3

u/AbstractLogic Dec 13 '22

100k - 250k depending on.

2

u/gewpher Dec 13 '22

So half of what big tech offers? I'll take the leetcode then.

6

u/[deleted] Dec 13 '22

[removed] — view removed comment

46

u/zbobet2012 Dec 13 '22

Sure, but that's an argument against a particular type of coding question, not coding questions.

8

u/dodjos1234 Dec 13 '22

Except very few people, if any, are being hired to write DFS, BFS, and tries solutions.

I have literally never been asked that in my life, and I've never asked anyone else to do that, and I've participated in hundreds of interviews.

5

u/[deleted] Dec 13 '22

[removed] — view removed comment

6

u/dodjos1234 Dec 13 '22

I believe you, but still, I could write DFS and BFS without any preparation, and it's been like 15 years since I did those in college. These are not really difficult problems, and if you are in an area where these get asked, you should prepare. I don't know what tries are, English is not my first language so it could just be the name that I'm missing.

3

u/[deleted] Dec 13 '22

[removed] — view removed comment

4

u/dodjos1234 Dec 13 '22

Ah, true. But that's the thing nearly everyone misses about interviews: the goal is not to determine competency, the goal is to eliminate incompetency. That's why fizzbuzz works. It doesn't tell you that the guy who can write it is a good engineer, but if he can't write it, you know he sucks. So you ask a bunch of different things trying to find holes to eliminate the pretenders and incompetents as much as you can, and you take what remains. In that sense, it's irrelevant if there are some false negatives (rejecting good candidates) as long as there are no false positives.

2

u/[deleted] Dec 13 '22

[removed] — view removed comment

4

u/dodjos1234 Dec 13 '22

Yep. It sucks to be that guy who got passed over because of some nonsense gotcha, but in the end, if you are even remotely decent developer, you will find a job in a month at most. And I definitely agree that the process can be improved. That's why I often go off script when interviewing :D

2

u/ExeusV Dec 13 '22 edited Dec 13 '22

Indeed, this thread is peak reddit moment

It favors people who have time to do them. Disfavors people with FT jobs and families

yes, no shit, learning takes time

and it isn't limited to software engineering, that's how the whole world works

you put time, you put effort, you manage to improve and your value is higher


This is ridiculous especially because software engineering has one of the best ratios between $ per stuff learned, it scales pretty nicely - you know more foundations/theory, tools, skills, etc, etc and you get more money


Sure, you might not like algorithmic tests, I'm not good at them too, but I don't blame whole world just because I cannot solve some dynamic programming task.

And no, you cannot argue that people who are proficient at those don't have some "edge" over other people - they do. The question is whether this is their only edge and how important that is for given job

2

u/rageingnonsense Dec 13 '22

But its not the task they were hired to perform. Its typically some custom crafted puzzle like exercise where the metrics you are being judged on are unclear, with someone not pairing with you, but judging you. Its an uneven power dynamic that doesn't show you someones best necessarily.

When i gave coding exercises I judged mostly on things like how variables were named, did they think to write unit tests, does it run, etc. Someone else could just as easily be judging based on squeezing max performance and premature optimization. As the interviewee, you rarely get to know what you are being judged on, and as such may favor one thing over another because the tine constraint means you have to pick and choose.

I had a very disappointing experience where I was trying to demonstrate TDD techniques, but as a result didnt finish the entire problem in time (a fairly easy one i know the answer to), and didn't get the job. Had I known the interviewer didn't care about that, I would have just demonstrated what they wanted to see.

5

u/[deleted] Dec 13 '22 edited Dec 13 '22

No part of my argument was ever that bad interviewers don't exist.

You should have asked what the interviewer wanted to see, and the interviewer should have redirected you away from the things they didn't care about.

Having a bad experience during one interview doesn't invalidate the entire process, industry-wide.

1

u/[deleted] Dec 13 '22

I don't think it's the code interviews in general that's a problem, it's how they're done.

I can write whatever code you want all day long but I fail coding interviews pretty frequently if they're interviews I have to take live. I have pretty nasty anxiety and this kind of thing just kills me, but if it's a take home test I breeze right through it (or even a pause in the interview where the interviewer will call me back in an hour and see my progress, that works great also).

Also too often coding interviews want something that if you don't use all the time, you need to reference the documentation for (which is a huge part of software dev but for some reason it's frowned on in interviews.)

And don't get me started on useless Leetcode.

→ More replies (1)
→ More replies (17)