It’s about fit

Back when I was working as a tech coach cum roving troubleshooter at a large bank, I was asked how we could improve the hiring process.

I suggested that we give potential hires a short take-home exercise to complete. And the bank agreed.

Boy, were they surprised when I had it ready just a couple days later. I am le quick.

But I had a secret motive. They thought that the exercise would test for technical skills. And of course it did. But it tested for something so much more important:

Fit.

By fit I do not mean whether we like you. Interviews already check for that. It’s almost the only thing they really get right. And that liking skews how we judge skill: the charismatic candidate scores higher than the quiet but talented one.

It’s true: psychologists call it the halo effect (external site).

They also tend to skew toward people like us. Meaning: people who speak the same language we do and are part of the same culture. That’s a way to miss a lot of great candidates.

But when I say fit, what I really mean is maturity. A mature dev does what the team needs and modulates their own desires. The immature dev stubbornly insists on having their own way.

The question is this: do they see the other people with whom they work? How they work, what they value, and what the business itself values?

Or do they only see what they want?

This is not to say that you should never hire anyone stubborn and brilliant. If stubbornness were a disqualifier then I’d never get hired! But there is a fit for the rock stars, too. Just not as commodity devs on a team.

So how did I do it? Simple. I set up the app on which they were going to work using an unusual approach and very specific formatting. Nothing bad. Just different. I also added dependencies that they might want to use ⁠— or not.

Then I gave them some suggested improvements to the app, said that they could choose their own, and gave them a two-hour window to complete it.

I strongly recommended that they not spend any more time on it than that. We weren’t paying them, after all, although if it had been up to me we might have.

I also gave them a list of linked documentation. Hint, hint.

For example, I used Ramda and provided a link to the Ramda documentation so that they could see that it did the same thing as Lodash. Did they still add Lodash?

After they submitted their changes to git as a pull request, I would go through and look at their code.

And here are the questions I asked from highest to lowest priority.

  1. Did they follow the programming paradigm (strict FP and immutable)?
  2. Did they recognize that the code was modular and decoupled and did they follow that pattern or ignore it?
  3. Did they see how we format the code and match it? I chose formatting that some hate (e.g., no semicolons, tabs for indentation) just to make it easy for them to override it.
  4. If they chose their own, did they reformat the whole thing, or just mix formats? That is, how sloppy were they?
  5. Did they use the dependencies already installed or add their own preferences, duplicating the installed dependencies?
  6. Did they do anything truly off the wall?
  7. Can they code?

Was it a test? Of course it was, but not the kind they were expecting. And I was honest about it. I said that it was intended to evaluate their fit for the job, and that a bad fit was not an indication that they were a bad dev.

Just that this was not the right job for them.

I told them this to relax them. Good people often test poorly. They get nervous. They freeze up. They make mistakes. Why would we want to reject a qualified person because they weren’t good at tests?

Tests have very little to do with how someone performs on the job, which is what we should care about. Right?

Before we began using the exercise, people showed up to interviews who literally could not code. How they expected to get the job, let alone survive in it, I’ll never know.

The exercise ended that: those who couldn’t code didn’t hand anything in. So by the time anyone reached an interview, “Can they code?” was already answered.

And in the age of AI? A candidate can now have a model do the whole exercise, so “Can they code?” tells us even less.

But the fit questions matter more than ever. Did they make the model follow our approach, our formatting, and our libraries? Or did they let it do things its own way?

Directing an AI is the same test of maturity: do you see the codebase and the team, or only what you and your model want?

None of my questions were automatically disqualifying, although maybe they should have been. What they gave us were questions for the interview.

In the interview, I didn’t give them any hints. I would frame the questions neutrally: “I ask everyone to explain their choices. Tell us why you chose the approach you did and what other approaches you considered.” Maybe they had a good reason for ignoring our approach.

Here is a bad answer: “That’s just the way I do it.”

Or, “This way is just better than how you did it.”

Here is a better answer: “Well, I noticed that you did it a different way, but I only had a couple of hours, so I did it the way I am most familiar with. Of course, if you hire me, I’ll do it however the team decides.”

Or, “I saw how you did it and that’s a way I’m comfortable with, but I thought that this would be a good opportunity to show another possible approach.”

Those are good answers. I’m sure you can see why.

Interestingly, the first guy to do the exercise did a horrible job. Just truly terrible. Everything in it screamed “full of himself, thinks he knows better, not a team player”.

I was frankly shocked at how poorly he did.

He ignored our formatting. He ignored the way I’d written the code. He converted our app to a different framework, if I remember correctly. You really can’t make this shit up. He even added duplicate libraries!

Yep! He added Lodash. Aargh!

And no, he didn’t give me the good answer I was looking for.

But by my previous interviewing experience, he just seemed like a great hire. All my spidey senses were saying this guy is great!

Whoops.

Here’s the irony ⁠— and my point. I recommended him.

Why? Because he blew me away in the interview. He said all the right things and came across as humble and willing to play along.

Then he ended up working for us in another city.

At that time, my then-partner was also working for the bank as a BA. And she ended up having to manage his team remotely as an “acting” product owner.

And she was furious with me. “Why the hell did you hire that guy? He’s impossible.”

And he was. Worse, he played political games, sucking up to upper management (who were in that city). He was arrogant, rude, and uncontrollable. They thought that he walked on water.

After all, he told them that he did.

My exercise had been right! It had nailed him. But because he was the first one, I didn’t trust the results. I foolishly trusted my interview skills.

To be fair, I wasn’t the only interviewer and everyone thought that he’d be great.

That guy cost the company a lot of money.

More than a year after I left the company ⁠— two after I wrote the exercise ⁠— a friend still working there told me that the engineering manager was demanding that every potential new hire do the exercise before they got an interview.

I had left careful instructions for what to look for ⁠— my seven questions above. And my friend told me that they got it. They were using it to determine fit, and rejecting those who failed it.

That was actually more than I’d hoped for. As the first interview showed, it was easy to rationalize hiring someone whose exercise revealed real anti-social work habits if they knew how to suck it up for the interview.

But back then I didn’t believe the bank would go for rejecting a candidate without an interview ⁠— if they passed the technical part of the exercise. And I was probably right at the time.

The cool thing about the exercise is that it lowered the candidates’ guard, and they showed their true work personality.

Of course, the real way to evaluate people is not with a two-hour, unpaid exercise, but with a short-term contract, paid, where they work with your team with no guarantee or expectation of further work.

It’s all about fit. Don’t hire a square peg to fill a round hole.

Initialisms and abbreviations
AI
artificial intelligence
FP
functional programming