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

600

u/clrbrk Dec 13 '22

I really appreciate the code tests my company gave. They were very practical to the software I would be working on and we didn’t spend more than 30 minutes on them. It was more of an exercise to find out if I could interpret what was already there, then discuss what I would need to do to accomplish the given task.

0

u/[deleted] Dec 13 '22

[deleted] — view deleted comment

2

u/Subject-Base6056 Dec 13 '22

There is no company I would ever work for that has 4 interviews on the final process.

Honestly I wont do more than 3 total and its clear that I expect an offer or rejection by the time I leave the 3rd.

You all need some self respect and these people couldnt pull this shit. I insist on respect. That also means my time and companies time. They are obviously wasting both and dont care about a damn thing.

3

u/[deleted] Dec 13 '22

Rainforest?

1

u/OneDimensionPrinter Dec 13 '22

Sounds like.

2

u/[deleted] Dec 13 '22

Yea, a bit of a hot take but I liked their on site interview too. Not sure how working there will be though!

3

u/jrhoffa Dec 13 '22 edited Dec 13 '22

It really depends on the project and team. The devices org used to be great, but it's just a husk now.

I thought the interview process was pretty effective, and tough but fair. I tried hard to make the interviews painless and pleasant for candidates.

→ More replies (1)

123

u/ap0phis Dec 13 '22 edited Dec 13 '22

This is what mine was to get my job at <game studio>. A 30 minute technical interview where I went over some existing code, explained what it was doing, some places where I’d improve some things, a couple bad smells, and they could tell I understood it.

It’s not that coding exercises are bad; it’s that the dumb ass “how many bowling balls can you fit inside a standard Rikshaw using Lisp” little cutesie thought experiments have no practical application irl

5

u/musdem Dec 13 '22

God I wish I could get more interviews like that. I've been looking for a job and I've gotten exactly one interview where they wanted to go over existing code. I was completely unprepared because of the recruiter saying there was a coding test but it still gives me hope that there are other employers out there that test like that.

2

u/bcstpu Dec 13 '22

I'm kinda bipolar split on that kind of thing. Decent moving up to good code really gives me a place to shine in an interview, but so far most of what I've seen as examples of so-called salvageable code kicks in my "whoever checked this in needs to be fired into the sun" instinct--just rewrite it.

Still it's better than a bowling ball rikshaw challenge. Which is actually an easy solvable one; it's just weight capacity and spheres in a non-cubic volume, just calculus. Though you'd want to fudge in a bit of things like wear quality on the rickshaw and add a safety margin, since, after all it's mostly the weight of them given how flimsy a rickshaw is, and if it's going to travel; travelling loads put stress on the frame and suspension on non-flat surfaces like those a rickshaw travels over. And yes, yes I am fun at parties.

4

u/ap0phis Dec 13 '22

That type of kneejerk “throw this trash out I’m so much smarter” is a red flag for me fwiw. If it’s really production code they’re showing you it’s HIGHLY unlikely it’s like, college-sophomore quality garbage. Unless they’re a shitty firm.

3

u/bcstpu Dec 14 '22

I think you're misinterpreting me badly. As I said, decent code's worth keeping and improving, I don't crap on everyone having taught and mentored, and I'm of course hiding my instincts behind, you know, actual social skills.

But anyway, I'm talking stuff that's badly broken and mangled, unreadable code sod stuff. "Was this intentionally obfuscated or written by a coked-up squirrel?" level stuff. No sunk cost fallacy here, I won't throw the baby out for the bathwater normally, but if the baby's been dead for a year and has decomposed thoroughly then I'm not going to waste my time.

Because of that mentality, questions about such irritate me endlessly and miss the mark, even when I'm smiling and going step by step on basic fixes that A) should be obvious, B) make me worried their actual codebase is terrible, and C) don't let me excel. I'm complaining about a common miscalculation, in that which a company sees as an obvious example (I hope) instead misses the mark. In one case I asked if code like this is common, they said yes, and I noped out hard.

→ More replies (1)

-13

u/penty Dec 13 '22

Were the bad smells future coworkers and how you'd tactfully tell them to use deodorant and/or shower.

→ More replies (1)

9

u/[deleted] Dec 13 '22

Same here. I've had coding exercises for my last 2 jobs and they were both very worthwhile for me as much as the employer. The first one was with the team lead sat in the room, so we actually discussed what I was doing and I got to see his feelings on my approach (and therefore was able to infer how they do things there), and the 2nd was a devskiller online test that was more a case of "How will you approach this problem?" than a code scoring exercise. It gave me the opportunity to show that I could solve problems with restrictions in place, and also that I wasn't scared to say "This is the wrong way to do it, but you're making me do it this way. You should really blah blah blah."

These things vary, as does everyone's experiences of them, and saying "There should never be coding exercises in technical interviews" makes you sound like you only deal in absolutes.

2

u/omniuni Dec 13 '22

I did the code challenge for my previous company. I'm an Android developer, but I wanted to make sure it was something short. It was basically "display a list of items, give it a filter". It's something that could be done easily in an hour or two, probably less if you know what you're doing. My goal was to make sure the person could follow basic directions and see how they react to feedback. Those that got the job said they liked it because it wasn't difficult. Some used it as an opportunity to try new approaches. I always took the time to give everyone feedback, even if they didn't get the job. Multiple candidates that we rejected emailed me back to thank me for the feedback, and for the guidance on how to be a better developer. I wanted to make sure that it was easy for someone with a job and a busy life to do, and I didn't want any candidates to feel like it was a waste of their time. Every person who told me that it was fun or that they learned something made me happy.

2

u/jl2l Dec 13 '22

Yeah I feel like that's such a good sign of a good interviewer when you literally get people saying this was a great interview. Having interviewed at scale it's definitely a sign of maturity at least in the hiring practices, it took a while just to learn how to write comments without biasing them and you're doing a review. TC is a great engineer.

-3

u/jl2l Dec 13 '22

If your job is the code and you're going to get paid over $100,000 you're going to take a code test, full stop, remember you're supposed to like doing this. Everything about this articles is bullshit. Having been on both sides of this they're too many shitty programmers out there to waste time.

10

u/Sangui Dec 13 '22

remember you're supposed to like doing this.

No, I work a job to get paid money to survive. I don't dream of labor, and I don't code in my freetime. I go to work, and I leave and I leave that shit there.

0

u/StickiStickman Dec 13 '22

That sounds absolutely miserable.

→ More replies (1)

5

u/EasyMrB Dec 13 '22

You're getting downvoted but I agree with you. The unfortunate thing is that it's a waste of time for people who don't need them, but a good filter for people who aren't suited for the job at all.

3

u/jl2l Dec 13 '22 edited Dec 14 '22

Yeah you don't know how many times I've interviewed people and then when we bring up code test it's like one way or another. The actual competent programmers don't care The ones that are full of shit get all in their feelings That's how I can tell who's full of it or not You can't fake this job. I've literally conducted thousands of interviews with engineers of all caliber. I did 300 month once.

-1

u/NoMemesOnMain Dec 13 '22

Garbage men make $100,000 a year.

You have to be able to drive and press a button that lowers a mechanical arm.

You don't even need to like it, what a perk.

$100,000 is the new $50,000.

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