DEV Community

Discussion on: Why I hate coding challenges in the hiring process

Collapse
 
codemouse92 profile image
Jason C. McDonald

Separate from my other response in this thread, I want to add something...

Yeah, coding challenges as part of the interview process are a huge red flag IMO.

I think code golfing challenges specifically are the red flag. I find it helpful if a company has some coding "challenge" task, either before or during the interview, which is (a) unique to them, and (b) reflects the work you'll actually be doing.

As an applicant, this helped me twice to realize I didn't have the experience for the job I was applying for! The coding challenges in both cases used the technology the job required, in a manner similar to how I'd be using it on the job. I was able to save myself and the hiring manager a few hours of effort, through those challenges alone.

A good coding challenge can be a real asset (as I comment separately). A bad one, including ALL code golfing challenges, is useless at best.

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

Agreed. I was definitely being a bit over-generic in my statement there. If done right, a coding challenge can be a good part of the screening process. The problem is that most places don't do them right.

Collapse
 
sroehrl profile image
neoan

Interesting. What do you think about having the candidate look into the used codebase and explain the process of understanding what is going on?

I assume it depends on various factors if that is suitable, but I had the chance of trying that out and found it had an excellent side effect: you basically get a code review from an external view. This can be a win as the existing team tends to create a "bubble" and inconsistencies, missing docblocks etc become more apparent. At the same time, you gain a pretty solid understanding of the candidates ability to "pick up work"

Thread Thread
 
ahferroin7 profile image
Austin S. Hemmelgarn

If it's a case where you can do that without needing multiple layers of NDA's just for the interview, then yes, I think that's a good option as well. It's kind of dependent though on how close to BCP for whatever language/platform you're using you are, as being too far just makes it too difficult for the candidate to pick up anything.

Thread Thread
 
sroehrl profile image
neoan • Edited

Sure, and there's probably an even longer list of cases where it's also not appropriate neither of us are thinking about. That is what I implied when I said it probably isn't a possibility in many cases.

Thread Thread
 
codemouse92 profile image
Jason C. McDonald • Edited

It certainly makes sense for a team around an open source project to relate screening challenges to the existing code base! That can be an amazing technique...as y'all said, if done right.

There is a fundamental difference between reading/explaining code and writing code, though, and that should be accounted for. I've met plenty of people who could do one, but not the other.

And then you have the companies whose code base is already a horrific pile of spaghetti, and showing any of their code in an interview would reasonably send candidates screaming into the night. ;) Or do you ask then: how do we make this function better?

Thread Thread
 
sroehrl profile image
neoan • Edited

And then you have the companies whose code base is already a horrific pile of spaghetti,...

Lol. Yes, but my point is: then that company needs such feedback.

There is a fundamental difference between reading/explaining code and writing code, though, and that should be accounted for.

True. So I guess you want to see both capabilities.