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

Show parent comments

372

u/well___duh Dec 13 '22

Then it favors people who are more personable provides greater opportunity for bias

Not sure if you've noticed, but nearly any candidate for any job in any industry favors those who are more personable. Who wouldn't want to have a coworker they enjoy being around and working with?

125

u/[deleted] Dec 13 '22

Personable candidates are favoured of course. However, there exists a percentage of personable candidates who can’t code. On several occasions now I’ve been mentally giving a person the job only to reach the technical stage of the interview and discovering their technical skills were all smoke and mirrors.

83

u/nemotux Dec 13 '22

I've been interviewing for ~25 years now. I would say the phrase "several occasions" vastly under-represents the number of times I was all gung-ho on a candidate until we got to the technical side of an interview and they completely flop on even the most simple question that a 4-year compsci graduate should easily nail.

9

u/fryerandice Dec 13 '22

I've interviewed people who don't even understand loops, let alone getting into leetcode style stuff.

3

u/nemotux Dec 13 '22

Um... yeah... that's what I meant by something a 4-year compsci graduate should easily nail - loops.

20

u/rageingnonsense Dec 13 '22

But did you really test their ability, or their ability under pressure? I find myself quite often having eureka moments about technicals after the call ends. These tests favor quick thinkers, not necessarily ability.

Ive solved some pretty complex problems in my time, but rarely in 30 minutes in front of a stranger who has an outsized influence over my career in that moment of time.

16

u/sprashoo Dec 13 '22

I think that’s why you pose a fairly straightforward coding exercise and provide help as needed. Not those 2010 era Google interview riddles, which indeed are mostly selecting for people who practice coding riddles in their spare time.

20

u/StabbyPants Dec 13 '22

it's technical, why would it involve a eureka? most coding is implementing a sensible design and making sure it's instrumented enough that you can verify proper behavior.

most complex problems are something handled by a bit of collaboration and designed first - by the time you're writing the code, you already know what it'll be

→ More replies (13)

5

u/nemotux Dec 13 '22

I try very hard to make sure the technical questions I ask don't have eureka moments. Eureka moments don't provide a test of skill, just a test of trivia.

The technical questions I ask are simple, not complex. As an example: "read in a list of words, construct an index of all unique word instances, and spit that out in alphabetical order." No code, just walk me through the high-level steps of your solution. And if a candidate is having difficulty, I help them along by giving hints or suggestions. If they provide a solution w/ correctness problems or poor time complexity, I ask questions to see if they recognize that and can correct.

Yes, I rate based on their ability to provide an answer. But if they can't without help, that's fine too. What's more important is whether they can demonstrate an ability to grasp the concept at hand and work with it, discuss it intelligently, and recognize problems and corner cases.

And yet, probably a good 20-30% of people that I have interviewed over the years with "X years programming in XYZ language" on their resume fail at this.

12

u/deja-roo Dec 13 '22

Ive solved some pretty complex problems in my time, but rarely in 30 minutes in front of a stranger who has an outsized influence over my career in that moment of time.

"Write a for loop that prints out all the odd numbers between 0 and 100"

"You expect me to solve that kind of problem under pressure?!"

This is all I hear when I hear shit like this, because this is often the kind of interview question people bitch about. Or fizz-buzz.

I've interviewed people that had all kinds of great coding experience on their resume and I bust out a pad and pen and ask them to define a Java class and they don't know the syntax.

The companies that spend an inordinate amount of time researching the best ways to run interviews that give them the best candidates still have small coding portions for technical candidates.

6

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

[removed] — view removed comment

6

u/deja-roo Dec 13 '22

But nobody cares about syntax in a coding interview. That's why we use pseudocode. Sounds like your code challenge just was a stupid way to do it. That doesn't mean any exercise to determine whether you have any basic coding competency is bad.

→ More replies (17)

2

u/[deleted] Dec 13 '22

In my experience, an unfortunately common situation is that I'm very confident about the candidate, but then when we get to the coding exercise, they can't make progress even with some hints and guidance from me.

I understand that not everyone interviews well, and I take that into account when making my decisions. But if a candidate can't take help, or work with me to help understand where they're failing, I'm not going to be able to help them after I hire them and they're in a stressful situation where actual business priorities are on the line.

→ More replies (1)
→ More replies (27)
→ More replies (2)

23

u/Kralizek82 Dec 13 '22

It has to be said that our industry attracts a lot of people that do not excel in social contexts.

Relying only on that part, you'd miss out a lot of talent for a skill that, while important, is not the most important one for the job.

And just to be clear, I'm not saying that being able to collaborate with others isn't important, just that being a coffee machine stand-up comedian isn't and in an interview you can only gauge the extremes of the spectrum.

161

u/celeritas365 Dec 13 '22

Of course it's a good thing but I don't think it should be the only thing considered.

96

u/Chance-Repeat-2062 Dec 13 '22

Yup, need to be competent at the end of the day. I'm cool if you're slow, fuck yeah take your time if you deliver better quality, but don't make my job harder by sucking so bad you bring the rest of us down whenever you turn in a deliverable. Test your shit, monitor your shit, alarm your shit, document your shit, performance test your shit.

→ More replies (11)

4

u/iain_1986 Dec 13 '22

Who's saying it should be the only thing considered?

→ More replies (5)

65

u/dublem Dec 13 '22

I'd much rather work with a competent, reliable, and hard working person who keeps to themselves and can be a bit awkward socially than a really charming and personable lazy flake.

Like, at the end of the day, it's a job, not a social club, and ability to deliver matters more than likeability. Sure, when I've interviewed candidates, all else being equal I'd pick the more personable one, but all else being equal you're always going to pick the person with that little bit more going for them, whatever it is.

20

u/a_false_vacuum Dec 13 '22

Someone who keeps to themselves is fine, usually if there is a good team dynamic they will even open up a bit.

Someone who is lazy will be more of an issue. I've had a few coworkers who were lazy and it usually resulted in missed deadlines, poor excuses and extra work for the rest of the team. Once had a coworker go home early because the evening before he was thinking about work, he counted those hours as overtime. These kinds of people result in a lot of frustration within the rest of the team. People have to pick up the slack and deal with the bullshit excuses.

Then finally there are those who are a complete arse. These can really run a team into the ground quickly with how they act.

Do not underestimate how important it is to keep a healthy social aspect to a team. A pleasant and fun place to work really helps keep people around, else you might find yourself having trouble doing anything because you keep losing people.

→ More replies (2)

2

u/[deleted] Dec 13 '22

That's a bad comparison.

Competent usually includes social skills at least past a junior role. More than half my job is meetings and arguing with people.

→ More replies (4)
→ More replies (18)