r/webdev • • Mar 01 '17

Programmers are confessing their coding sins to protest a broken job interview process

https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.4k Upvotes

341 comments sorted by

View all comments

Show parent comments

1

u/mrmidjji Mar 02 '17

What? I buy people cant draw worth shit, but surely ignoring that the problem is trivial? What do people miss?

Wheels with axis connected to the frame wheel holders. The front one attached to the typical frame with a joint for free motion and topped with a steering handle. The hind wheel central axis gear is connected by a chain to the mass centre pedal gear on its axis held by the frame, with pedals obviously, use the elongated axis holder to stretch the chain.(any axis or joint is assumed to have free rotation in the one obvious direction and include the obvious nuts) Add a seat, gear and chain covering, wheel coverings. Rear wheel clamp based breaks with a spring to hold it open and a line to the contraction based break on the steering wheel. Add bell and lights as required by local law, then show them broken and ticketed for added realism.

One can make a better bike but that the above should be sufficient?

1

u/seiggy Mar 02 '17

Most people forget the chain, pedals, and forks. Typically you get a frame, handlebars, wheels, and seat. In the more than 30 interviews I've done this with in the past year, only 1 person has drawn a complete bike in their first attempt. Many can't tell you why their bike won't work at all. Not really looking for artistic talent. It's more about forcing someone to walk through a problem out loud to see how they deconstruct things.

And yes, your description is way more than sufficient.

1

u/mrmidjji Mar 02 '17 edited Mar 02 '17

Strange, though it does raise the question, is it a good test? Or does it just show that people remember higher level abstractions instead of details, which might actually not be a bad thing. On the other hand while id like to believe I'm just awesome, I play mind games like what technology could I reproduce from memory if tossed back to roman times and given a fair bit of resources way too often which probably interferes. Never tried a bike before though.

I'm missing a bunch of words for things, but the it bugs me more that I didn't figure out how to make the standard pedal backwards break. Methodwise though I just visualise the whole object and its interactions as I would use it and run it through a few simulations, highlight and isolate any part that looks fuzzy, iterate. Kinda like phys sim cad. Its why I moved the handbrake to the hind wheel, since the sim showed me flipping over forwards otherwise. Its also likely why I forgot the stand and the hind err storage thingy, since I never use them. How else would you do it?

2

u/seiggy Mar 02 '17

I've found it works really well as a test because of the fact that most people remember the high level abstraction. If most people could produce the bike in full detail at first, it would be a terrible exercise. The goal is to get them to vocalize their thought process as they have to explain what they've missed.

I had one guy who drew two wheels with spokes, a square frame, and handlebars. nothing else. When I asked what was missing to make his bike work, the only things he could come up with were: gravity, friction, and a person. I even poked and prodded with questions like "what makes your wheels turn", and "how would you ride on the bike". And he still failed to produce any reason why his bike would fail to work. Of course he also failed to produce code that would find a factorial of a given number, so I'm not surprised that he failed both tests.

In fact I found more often than not, most people who excelled at the simple code challenge, also quickly were able to analyze what pieces were missing to make their bike functional. People who failed badly at the code challenge had the worst time (and the least functional bikes) in the bike challenge.

1

u/mrmidjji Mar 02 '17

Jikes, he is the kind of person who makes others believe in the myth of the 10x programmer I guess. Never tried to hire people admittedly, but I'm still surprised not everyone passes both easily enough to occlude any differences. Could it be stress? Whats your hiring pool?

I sometimes test my students with simple challenges to try and predict how good they will get, I'll try the bike thing next year.

1

u/seiggy Mar 02 '17

Central NC, so we've got a pretty decent tech pool around. With Raleigh/RTP a bit over an hour away, Charlotte an hour away, the talent pool in the area is pretty deep. But there's a lot of really bad devs around too.

And yeah, I'm sure some of them were interview jitters. That's why I try to keep to really simple problems for the code review, and abstract challenges like this. Does a really good job at helping see through the jitters once they settle in a bit.

We also do an exercise where we show them a clump of code from one of our repositories, and then ask for ideas on how they would improve the code. That's one that does really well for when we're looking for more senior devs. It's kinda like a reverse code review, where we have the candidate review a chunk of code that we know isn't great.

1

u/mrmidjji Mar 02 '17

That sounds like a good idea. What do you guys do?

1

u/seiggy Mar 02 '17

Telecommunications software and services for the confinement industry.