News for hackers. Stuff that matters.
Re:In defense of coding interviews by d--b on Sunday May 29, 2022 @12:07AM (#31546290)
The dirty secret is that it’s never about the coding skills.

It’s about the person’s behavior, the way he/she interacts with you. It’s about the person’s culture, tabs vs space, and that kind of things. And it’s mostly about whether you like the person or not.

And I think it’s fine. You mainly need to be sure that the person knows what a for loop is, other than that, most people are ok at programming. What really matters is that you can work with that person.

Unfortunately interviewers who don’t realize this will unconsciously tweak the interview to make it harder for people they don’t like and easier for people they do like. And then they have an “objective” reason to not hire the person: “oh my god, he didn’t know merge sort”.

I give all kinds of random questions. And many times I recommend hiring people who bombed it, and many times I recommended bailing on ones who nailed it (overconfidence, poor communication, etc).

Re:In defense of coding interviews by weatherlite on Sunday May 29, 2022 @01:00AM (#31546531)
> It’s about the person’s behavior, the way he/she interacts with you. It’s about the person’s culture, tabs vs space, and that kind of things. And it’s mostly about whether you like the person or not

Not in FAANG or famous startups it's not. You're either gonna solve 3-6 medium hard Leetcode questions perfectly or you're out. Sure, liking you will help you better not come off as a douche - but you're not gonna get an offer without being able to solve (unless it's some kind of a diversity hire).

Re:In defense of coding interviews by sitkack on Sunday May 29, 2022 @01:42AM (#31546733)
Interview technical folks at a FAANG and I don't asking leetcode questions. It isn't a SWE role but people should be SWE material. I do ask them to

    * read code
    * extend some working code with a new feature
    * parse some semi-structured text into a data structure
Programming interviews suck for everyone, even the interviewer. I feel absolutely horrible when someone locks up, or fails really hard. The questions I ask aren't hard but half don't pass.

What folks should do is practice coding in front of someone. Writing little exploratory snippets and understand the base library of the language they claim to know. I don't even ask people to vocalize while they are working on the problem. And I solve it at the same time they are and if they get stuck, I show them some of my code.

I had one person start crying they put so much pressure on themselves, I had to take a two week break from interviewing after that.

Re:In defense of coding interviews by lapcat on Sunday May 29, 2022 @07:30AM (#31548271)
> I had one person start crying they put so much pressure on themselves, I had to take a two week break from interviewing after that.

This is a sign that the hiring process is broken. It's not testing skill level, it's testing anxiety level.

Re:In defense of coding interviews by native_samples on Sunday May 29, 2022 @09:29AM (#31548978)
The second sentence may be true but the former isn't.

People who break down and cry in interviews are rare but if they do it, they are best avoided and it was good that the interview revealed this. You cannot have that happening on the job but if they can't handle being asked to program something whilst up against a time limit or being watched, they're going to have breakdowns in other situations too.

Re:In defense of coding interviews by lapcat on Sunday May 29, 2022 @09:41AM (#31549059)
I've written at length about this before, so I'll just give a link instead of repeating the whole screed, but it's a misconception to equate interview anxiety with job anxiety. They're distinct and not necessarily correlated. https://news.ycombinator.com/item?id=31377459
Re:In defense of coding interviews by sitkack on Sunday May 29, 2022 @06:24PM (#31553478)
Thanks for taking the time to write that. I agree. Interviewing is a horrible crap shoot and would say even cruel by construction.
Re:In defense of coding interviews by native_samples on Monday May 30, 2022 @04:16AM (#31556657)
It's obviously unpopular, but the brutal reality is that the vast majority of candidates don't panic during interviews and can in fact demonstrate their skills when asked. I've done lots of interviewing and you aren't going to convince me or anyone else actually that breakdowns in an interview are completely irrelevant, especially when all you've been asked to do is demonstrate that you're actually qualified. It's also frankly a bit insulting to people who learned to control their emotions and work under pressure to expect that this behaviour be ignored in others who never learned to do it.
Re:In defense of coding interviews by lapcat on Monday May 30, 2022 @06:53AM (#31557642)
> the vast majority of candidates don't panic during interviews and can in fact demonstrate their skills when asked

Is this actually true? It's been widely and frequently claimed over the years that "199 out of 200 applicants for every programming job can't write code at all. I repeat: they can't write any code whatsoever." https://blog.codinghorror.com/why-cant-programmers-program/

> frankly a bit insulting to people who learned to control their emotions

It's frankly a bit ignorant of human psychology to think that people can just "learn" to control their emotions. We're humans, not robots. Yes, you could go to a professional therapist, if you have both the time and money; it could take a lot of both. But if many people have to go to a therapist for the sole purpose of dealing with audition-style coding interviews, then maybe there's something seriously wrong with audition-style coding interviews. It's already bizarre that candidates with many years of experience in the field have to study intensely for job interviews.

> and work under pressure

I explained at length in the link from my previous comment that working under pressure is entirely different from interview pressure.

Re:In defense of coding interviews by native_samples on Tuesday May 31, 2022 @08:37AM (#31568805)
By "demonstrating their skills" I meant demonstrate to what extent they have skills, not that they were all very skilled or could do the work. They were nonetheless able to prove what they did know.

I've done hundreds of interviews as the interviewer. I've had people seriously panic maybe once or twice in that entire time. I've heard occasionally that the rates for other interviewers were higher (but still low), if that's the case then they just sucked at interviewing.

Where did therapists come into it? I've never heard of anyone going to a therapist to pass coding interviews, that would be ridiculous. Learning to control your emotions is something people are meant to learn as children. It's a standard skill you're supposed to have to interact with others, like basic politeness. If you're having breakdowns as adults then it's expected that the situation is really intense, like the death of a loved one, breakdown in a relationship etc. Job interviewing is a normal part of life and shouldn't be as stressful as those things.

"It's already bizarre that candidates with many years of experience in the field have to study intensely for job interviews."

The whole "cramming leetcode" thing is way overblown, or possibly a modern feedback loop in which crammers are making it harder to detect genuine skill and experience. Again I've done a lot of interviews and nobody ever mentioned having to prepare for them. That idea seems to be a relatively recent idea (last ~10 years or so) and is probably a result of so many people competing for very highly paid jobs at a small number of firms. Normal software jobs should ask people to demonstrate their skills, but it shouldn't be something that requires exam-like prep for any working programmer.

Re:In defense of coding interviews by lapcat on Tuesday May 31, 2022 @09:23AM (#31569169)
> I've had people seriously panic maybe once or twice in that entire time.

I think you're making too much of the example of the candidate crying. That is indeed an outlier case, not the norm. But the crying case is an undeniable sign that job candidates can get extremely anxious during an interview, in a way that affects their performance. The issue isn't "breakdowns" per se, the issue is that coding tests are testing anxiety level rather than skill level. Ironically, most job candidates are in fact "controlling their emotions", as you say: they may show no outward sign of breakdown or panic, but on the inside, their mind and stomach are churning heavily, and this makes it difficult to perform at their normal level. Everyone is trying to act calm and collected during an interview, but often it's merely an act, and they're actually not calm and collected at all. What you perceive from the outside as incompetence may be a whole different story on the inside for the candidate. https://www.engr.ncsu.edu/news/2020/11/11/tech-sector-job-in...

Anxiety isn't all or nothing. There's a wide spectrum between totally calm and crying breakdown. When there's a crying breakdown, it's easy to recognize, but anxiety is not so easy to recognize if there's not a breakdown.

> I've done a lot of interviews and nobody ever mentioned having to prepare for them.

Why would they mention it, even if they did prepare?

> That idea seems to be a relatively recent idea (last ~10 years or so) and is probably a result of so many people competing for very highly paid jobs at a small number of firms.

Regardless, we're living in the present now, under current conditions, not living in the past, so for the purposes of getting a job, it doesn't really matter when the idea originated.

Re:In defense of coding interviews by native_samples on Tuesday May 31, 2022 @09:46AM (#31569414)
After they were hired, and we were talking about interview design, and they were proposing questions harder than mine? Seems reasonable to mention if they had to prep then. Later I also pushed back on proposals for things like homework, but others seemed to find that idea acceptable. I guess they'd have mentioned it then.

You seem to be suggesting something totally unfalsifiable - that candidates who do a bad job aren't actually bad programmers, but are just nervous inside in undetectable ways. There's no way I or anyone else can argue against this notion because there's no way to prove a negative like that, but suffice it to say that the sort of issues I'd associate with nervousness - minor slips that they then notice and correct, stumbles, brief moments of forgetfulness etc - are not why people tend to fail interviews. They fail interviews because their coding skills suck.

Re:In defense of coding interviews by lapcat on Tuesday May 31, 2022 @10:09AM (#31569683)
> You seem to be suggesting something totally unfalsifiable - that candidates who do a bad job aren't actually bad programmers, but are just nervous inside in undetectable ways.

Heh. It's only unfalsifiable if you ignore a person's previous experience and accomplishments, refusing to acknowledge anything other than your own interview as an accurate gauge of the person's skills.

Also, I'm literally telling you that it happens to me. (And I've heard many people say it happens to them.) So either I'm a liar, or you have to admit that it happens. Go ahead and call me a liar if that's what you want to believe, but I'm not even trying to get a job anymore. I'm happily self-employed now, and my customers also seem very happy with my coding skills.

The term "control your emotions" is somewhat vague. You can hide your emotions, but that doesn't mean you're not experiencing the emotions. An extreme example of that is if you "put on a brave face" after a personal tragedy. You may not cry and break down, but that doesn't mean the sadness doesn't affect you severely. The reason I mentioned therapy is that you'd probably need therapy in order to somehow train yourself to not even feel the emotions in the first place in situations where they arise automatically for you, i.e., to not have certain phobias at all.

> the sort of issues I'd associate with nervousness

Have you considered that you might not have a full understanding and appreciation for human psychology and the wide variance among humans?

Re:In defense of coding interviews by native_samples on Tuesday May 31, 2022 @01:05PM (#31571988)
"It's only unfalsifiable if you ignore a person's previous experience and accomplishments, refusing to acknowledge anything other than your own interview as an accurate gauge of the person's skills."

Which is often the right thing to do unless you have very specific knowledge of that experience e.g. a referral, because so many people flat out lie about their experience and accomplishments. If you can't directly verify it, the accuracy is so low it's best ignored.

As for your experience, I'm glad to hear you're now happily self employed (so am I!). How are you proving your skills to customers, if you can't handle job interviews? Or are you making a product?

"Have you considered that you might not have a full understanding and appreciation for human psychology and the wide variance among humans?"

I have an average such understanding, having lived an average life. But the problem remains: someone who claims to be able to do a job fine but can't demonstrate that capability when asked, is from an employer's perspective best avoided. That isn't a flaw in the interviewing process, that's the point of it! The reasons why someone can't demonstrate it are irrelevant because there's no better alternative available, and anyway, someone who can't handle the pressure of a job interview is very likely to crack in other situations. You claim it's not true and there's something psychologically unique about interviewing, but, I don't really believe this and clearly neither do other people doing hiring.

Re:In defense of coding interviews by lapcat on Tuesday May 31, 2022 @05:47PM (#31575356)
> Which is often the right thing to do unless you have very specific knowledge of that experience e.g. a referral

You're missing the forest for the trees. This is not a job interview, it's just the two of us talking, and I'm stating that many people who are not stage performers experience "stage fright" in an audition-style interview, which severely but only temporarily hinders their performance.

If you acknowledge this fact, then you have to start to wonder whether audition-style interviews are accurately measuring skill level, or whether they're mainly measuring anxiety. And you may have to reevaluate whether a flubbed interview indicates that a candidate "can't code" and is a "faker", as opposed to just freezing from stage fright.

This is not even to claim that there are zero liars out there. But you have to wonder about the percentage of liars, if there are alternative explanations for poor interview performance. The level of paranoia in hiring programmers seems totally absurd to me.

> How are you proving your skills to customers

I am making a product, as well as contracting sometimes. But nobody wants to test me. They trust my experience and aren't ultra-paranoid that I might be a faker who can't code.

> if you can't handle job interviews

This is not accurate. I can handle job interviews. I'm not good at auditions. An audition is a very specific kind of interview, and rather perverse for hiring people who mainly work sitting by themselves.

> That isn't a flaw in the interviewing process, that's the point of it!

Disagreed. It seems that coders tend not to recognize how coding test interviews are not the norm in the world for interviews. They're quite unusual. Most people don't have to audition for a job. An interview is a two-way street: both the interviewer and interviewee are trying to determine whether the job is right for them, and whether they want to work together. A test is very one-sided.

Re:In defense of coding interviews by sitkack on Wednesday June 01, 2022 @07:16PM (#31589366)
Thanks for being so patient.
Re:In defense of coding interviews by weatherlite on Monday May 30, 2022 @06:38AM (#31557543)
> the brutal reality is that the vast majority of candidates don't panic during interviews and can in fact demonstrate their skills

For a given job most candidates actually don't get hired, often because they are not a good fit but many times because they are too nervous to think straight.

Re:In defense of coding interviews by native_samples on Tuesday May 31, 2022 @08:39AM (#31568819)
I've done hundreds of interviews and that is only very rarely a problem. Normally candidates aren't nervous, but just can't program. They don't have the knowledge, they're flummoxed by basic errors from their compiler/interpreter even when they got to pick what language they used, they're asked to write something (anything) in a language they advertise knowing on their CV and then admit they don't actually know it, etc.
Re:In defense of coding interviews by lapcat on Tuesday May 31, 2022 @09:25AM (#31569189)
> Normally candidates aren't nervous, but just can't program.

How do you know their level of nervousness? You can't read minds.

Re:In defense of coding interviews by prakhar897 on Sunday May 29, 2022 @12:06PM (#31550218)
> I had one person start crying they put so much pressure on themselves, I had to take a two week break from interviewing after that.

Because you asked them question out of syllabus. Was the person informed that the interview wouldn't involve Leetcode?

The person spent months prepping Leetcode just to get into BigTech and then you come out of woodwork with your "special" interviewing material. Imagine prepping for a calculus test for months and then the teacher comes out and takes a "simple" test on trignometry. Would you be able to do it? Not only that, all his/her friends got a normal calculus test which they passed with flying colors.

Re:In defense of coding interviews by sitkack on Sunday May 29, 2022 @06:22PM (#31553456)
This wasn't a Leetcode question. I understand where you are coming from, but it isn't that.

This had to do with the pressure one puts on themselves for a job a BigTech company.

Re:In defense of coding interviews by weatherlite on Sunday May 29, 2022 @01:51AM (#31546769)
I was referring to SWE roles, as is this article I believe.
Re:In defense of coding interviews by sitkack on Sunday May 29, 2022 @01:53AM (#31546774)
They aren't technically SWEs but they would be at any other company. I have been a SWE at three other FAANGs
Re:In defense of coding interviews by weatherlite on Sunday May 29, 2022 @02:01AM (#31546809)
> I have been a SWE at three other FAANGs

Good for you.

Now seriously I'm not sure what you're arguing for - you're saying FAANGS don't do Leetcode style questions? I get it that YOU don't do it to candidates in those roles, but the reality is for SWE roles this is how it is. People who aren't very good in Leetcode will not succeed. There's hundreds, maybe thousands of candidates for these roles and some of them can do the Leetcode thing - they are the ones who get hired. I'm not advocating for this method because I'm not particularly good at it or like solving these things on my spare time, nor do I think this method is particularly useful - but that's reality.

Re:In defense of coding interviews by Jensson on Sunday May 29, 2022 @02:04AM (#31546820)
I know Google has some tech support engineering roles where they ask such simple questions to candidates. They aren't software engineers and generally don' get to contribute to the main codebase, but they help customers fix problems with how they use Google API's etc so they need to know a bit about how to code.
Re:In defense of coding interviews by quickthrower2 on Sunday May 29, 2022 @12:55AM (#31546511)
It is definitely about the coding skills. It is too easy to bullshit and there is a financial incentive to do so. Also many people with genunine 10 years of experience are not too good at coding.
Re:In defense of coding interviews by amitport on Sunday May 29, 2022 @03:15AM (#31547125)
Many people with genuine 10 years of experience do not care for stupid leetcode question they could obviously solve given some quiet and time.

The idea that everything boils down to answering some intro to programming questions quickly is absurd.

Re:In defense of coding interviews by kortilla on Sunday May 29, 2022 @06:28PM (#31553503)
Years of experience are not created equal. There are far fewer who can actually solve them but don’t want to than those who just can’t. If you spent the last 10 years just ossifying then you might be great in your current role but realistically you’re terrible at building new things.
Re:In defense of coding interviews by kingdomcome50 on Wednesday June 01, 2022 @12:09PM (#31584017)
While providing a syntactically correct, optimal solution to a given problem is important (this was reiterated many times during my recent interview process at a FAANG), it is also important to be able to demonstrate the ability to synthesize an approach to solving a problem to which you don't already know the answer. That is, how to solve a problem.

These questions, while certainly aimed at identifying core competency areas, are also an opportunity for the candidate to demonstrate an aptitude for problem solving. Nobody really cares "how many piano tuners operate in Seattle". What they care about is, given that kind of question, how a candidate responds. You might be surprised by the number of people totally unable to even generate a reasonable estimate:

- How many people live in Seattle? - What percentage have pianos? - How often does a piano need tuning? - How long does it take to tune a piano? - How many pianos can be tuned per work day (given commuting time)? - etc.. driving towards a number.

Did the candidate attack the problem and even attempt to solve it? Did they use metrics? The list goes on... Most LC-style questions (save the "aha! moment" ones) have a similar impetus, but are also much more practical and efficient because they test for many things at once.

And if I'm being honest... most FAANGs aren't looking for engineers that require quiet and time to solve problems. They are looking for elite engineers who can write a solution nearly as fast as the problem is presented (I'm obviously exaggerating a little bit here). The difficulty of the questions presented to me (6 technical interviews) were what I consider semi-trivial. I was able to describe the solution-space within seconds of reading the prompt and code an optimal solution nearly as fast as I could type in all cases. It honestly made me wonder about how poorly the average programmer must perform such that these were the questions they needed to evaluate my potential.

Another commenter posted this article [0] about the interviewing philosophy back in the early '00s. I found it very enlightening, and reassuringly, while reading through it I knew the answer to nearly every question (and could expand upon the topics) just off the top of my head. I'm not trying to sound arrogant here but the idea that a FAANG, who pays top-dollar for engineers, would settle for "10 years experience" as a suitable replacement for "demonstrates ability" is what's absurd. A false positive is way more costly than a false negative.

[0] https://sites.google.com/site/steveyegge2/five-essential-pho...

Re:In defense of coding interviews by pkolaczk on Sunday May 29, 2022 @02:14AM (#31546874)
It's is also easy to bullshit a coding interview. The problems solved at interviews are just too small to verify code organization skills.
Re:In defense of coding interviews by koonsolo on Sunday May 29, 2022 @03:33AM (#31547216)
I suppose you never did any interviews yourself. You can't imagine how many people can't even do or know the basics.
Re:In defense of coding interviews by lapcat on Sunday May 29, 2022 @07:35AM (#31548292)
> You can't imagine how many people can't even do or know the basics.

I can imagine it, because I've been that person.

It's simple interview anxiety, which causes temporary but severe performance degradation. Then when the interview is over, the anxiety suddenly disappears, and you can even go back and do the same problems much more easily.

But I suppose interviewers will just assume that my resume is a lie or that I managed to incompetently hold onto previous jobs.

Re:In defense of coding interviews by ipaddr on Sunday May 29, 2022 @04:27AM (#31547455)
Yet they are able to do the job. Something doesn't lineup with your testing methods vs outcome.

If these people are finding work elsewhere and doing productive work for years what does it say about your process?

Re:In defense of coding interviews by koonsolo on Sunday May 29, 2022 @05:15AM (#31547704)
Do you think they are looking for a job because they were fired somewhere else?

Or do you think companies never fire people?

We already fired plenty of people that we hired. So yes, our hiring process is not perfect. But if you're a JavaScript developer and can't explain the difference between var, let and const, I'm not going to hire you. If you claim these people are great developers, you are free to hire them.

Let me know the details of your company. Whenever we find a candidate that doesn't satisfy our requirements (which is around 90% of them), I'll send them to you so you can hire them.

Re:In defense of coding interviews by pkolaczk on Sunday May 29, 2022 @05:42AM (#31547829)
I've never said you should hire people who can't tell var from const.

I've said that even if you hire people who do know the basics of the language, and some algorithms, and even could solve a toy problem on paper, you might still hire someone who can't code at scale. Coding interviews typically don't test design skills, documentation skills, ability to not get lost on a larger code base, debugging skills, tendency to avoid hacks and increase tech debt etc.

Re:In defense of coding interviews by ipaddr on Sunday May 29, 2022 @12:57PM (#31550622)
Those are different skill sets. Someone may know and know how to properly use var, let and const according to standards and current trends. They may understand it deeply. But that doesn't mean that they can explain it to you.

The question changes to: is what you are testing the actual skill you need? Are you hiring a teacher who is going to explain var,let,const as part of their job or are you hiring someone who needs to know how properly to use var,let,const?

Send me over any developer who fails your teaching requirements for var,let,const but has code samples with proper usage.

I've never seen a senior developer fired for poor coding. I've seen them get fired for being part of a department cut or because they got into a fight with the owner/boss. I've seen them fired because they make too much compared to outsourced resources.

Re:In defense of coding interviews by koonsolo on Sunday May 29, 2022 @05:39PM (#31553138)
> that doesn't mean that they can explain it to you.

I'm sorry what? I don't expect them to teach me, I just want them to tell the difference. By the way, the ones that can't say: "they told me to always use let". I'll send them to you :D. Best of luck.

> I've never seen a senior developer fired for poor coding.

I've seen plenty. If a junior dev needs to help you out of trouble every time, you know there is something wrong.

Some people just reach their limit very soon, and can hide away in some comppanies. Probaly companies where you seem to work. Other companies probably just have a higher bar, no disrespect meant.

Re:In defense of coding interviews by ipaddr on Monday May 30, 2022 @10:07AM (#31559104)
I've worked in a number of places and people don't have the limitations you believe.

A junior helping a senior? Shame on them? Fire the senior? That sounds really foolish. You realize that junior/senior/etc are labels and someone you hire a junior can know more syntax than a senior in a framework. That's okay that the senior seeks helo.. it's natural and what a senior should do. p You are presenting your company in a bad light and making yourself sound inexperienced.

Could you have reached your limit? Would your methods fly elsewhere? Apply the len to yourself and see where you end up.

Re:In defense of coding interviews by koonsolo on Monday May 30, 2022 @05:10PM (#31563658)
When other devs get stuck on something, they come to me or one of the other seniors. And then I or they solve it. Sometimes it's difficult, and sometimes it's a silly oversight. So yeah, I have no problem applying it to myself.

I can't really believe that people here think when you have more years under your belt, you somehow must be good. People get fired in companies because they don't reach the expected level. If you keep them, other colleagues will get frustrated and leave on their own. And then you're stuck with the underperformers.

And yes, everyone has limitations. Some sooner than others. Welcome to reality.

I find the discussions here very silly that somehow you must hire everyone without a technical interview, and never fire anyone because people don't have limitations. Not going to respond anymore.

Re:In defense of coding interviews by Cd00d on Sunday May 29, 2022 @11:54PM (#31555325)
Look. I've seen a lot of your comments in this thread, and I don't think you're listening. You don't seem open to hearing.

What I read is a knee jerk justification for your hiring methodology without being open to any feedback.

You should take a breath. Clearly people disagree with you. Try to empathize with where they're coming from and understand the point they're trying to make.

Re:In defense of coding interviews by koonsolo on Monday May 30, 2022 @03:08AM (#31556251)
Ok, so what's the ideal hiring practice then? According to some here, it's just a little talk about previous experiences, not going into technical details at all. Sorry, but then you end up with people who are technically very weak. Been there done that.

Look, I have a lot of experience with the hiring process. It's very difficult. I will listen to someone with a lot of hiring experience. But just saying "it's broken" isn't going to cut it.

And remark that a big part of our hiring practice is to put the candidate at ease. I even say that they won't get everything right, and that's no problem. I help them out when they get stuck, etc.

Re:In defense of coding interviews by em-bee on Sunday May 29, 2022 @04:02AM (#31547343)
i do sort of pair programming with candidates specifically to evaluate the interaction. i let them drive and navigate, acting more like a passenger with the occasional input. that way i can see coding skills and ability to communicate.

of course i interview for my specific situation. the candidate will be working with me directly, so they should at least be able to interact with me. if i don't like them then that's almost a showstopper, but if the candidate otherwise qualifies i should try to figure out what my problem is, and see if i can get over it.

Re:In defense of coding interviews by jordanpg on Sunday May 29, 2022 @08:43AM (#31548691)
SWE to lawyer here.

The analogs of the traditional coding interview in the law school world are the LSAT and classroom timed memory tests. Both have absolutely nothing whatsoever to do with being a lawyer or the kinds of activities that lawyers actually do.

What they are are intelligence tests. They are easy ways for judges and top tier law firms to tell if you are "one of them." You can get your foot in the door if you can perform, at a minimum, at a certain level. There are plenty of things you can do without 97+ percentile LSAT and A's in law school, but you are screened from the top echelon of work.

People object that this isn't fair and screens good people out -- false negatives. But experience has shown that it is effective and easy. Perhaps there is a better way, but this way seems to work well enough. There is little incentive, beyond some people complaining about it, to change a system that is working well.

I see the traditional leetcode interview in the same light. The point is to see if you can perform at a certain minimal level. Yes, it's arbitrary, and often unconnected to real life. But it is an effective way to gauge a minimum level of intelligence and competence. Not perfect, but easy and effective.

Finally, there is ego element to this. People who can perform at this level see these skills as a minimum qualification. They are uncomfortable seeing themselves in relation to others who cannot perform at this level. Knowing that their peers have similar minimum qualifications makes them feel safe and secure about their status. This is not a criticism, just an observation about human nature. People in a club need a shared identity.

Re:In defense of coding interviews by gedy on Sunday May 29, 2022 @09:18AM (#31548921)
Great analogy. I think the rub is I wouldn't want to study for and take the LSAT before every interview, and especially not after working in the field for 10 or more years.

Especially if the interviewers make comments like "um how much do you actually practice law?" if you stumble on one of their pet quiz questions.

Re:In defense of coding interviews by lapcat on Sunday May 29, 2022 @09:04AM (#31548824)
> The analogs of the traditional coding interview in the law school world are the LSAT and classroom timed memory tests.

How are these analogous? LSAT is the Law School Admission Test. It gets you into law school. It doesn't get you a job as a lawyer. (The bar exam doesn't get you a job as a lawyer either.) And you only have to take it once, not for every job interview.

Re:In defense of coding interviews by jordanpg on Sunday May 29, 2022 @09:14AM (#31548893)
Fair enough; it's not a perfect analogy. The main point is the nature of the metrics.

Getting into law school is the first part of the "interview." If you don't have the LSAT score, you won't get into a prestigious law school, full stop. If you aren't in a prestigious school, then a huge swath of elite positions are permanently closed to you. (In general -- yes there are a sprinkling of exceptions.) The bar exam has nothing to do with it -- everyone has to pass that, no matter what you do.

The second part of the interview is law school grades and certain extra curricular signals. You're right, there is only one "interview." But the analogy still holds up, with respect to the nature of the intelligence and memory tests.

Re:In defense of coding interviews by Cd00d on Sunday May 29, 2022 @11:59PM (#31555345)
Aren't those one time things that define the future of your career? Sort of a pedigree being established?

You can go to a top tier university, land a great job for several years, have positive references, and still be required to do leet code for a recruiter... that seems like ongoing gatekeeping, rather than a one-time effort/pass.

Re:In defense of coding interviews by mountainriver on Monday May 30, 2022 @09:02PM (#31565169)
Sure but I can get a much better gauge of intelligence from OSS. I’ve seen some of the worst developers I know beat Leetcode because it’s really just memorization not actual intelligence
Re:In defense of coding interviews by Apocryphon on Sunday May 29, 2022 @02:00PM (#31551220)
What was your journey from engineer to lawyer like?
Re:In defense of coding interviews by koonsolo on Sunday May 29, 2022 @03:30AM (#31547199)
> You mainly need to be sure that the person knows what a for loop is, other than that, most people are ok at programming.

When I'm interviewing a senior developer that will guide other juniors, they will need to prove they know more than a for loop. They will need to show they understand the underlying concepts and technologies. Else it's a no hire, tough luck.

We also fired plenty of people that weren't up to the quality we expect.

Were are you working? At some government?

Re:In defense of coding interviews by t-writescode on Sunday May 29, 2022 @12:42AM (#31546455)
Statements like this make me distinctly angry because I do everything I can to remove myself from the interview, of sorts.

If they come up with, or start walking with an interesting solution, I listen to them.

Tabs and spaces don't matter.

I actively work against the biases of "whether I like the person or not" because I'm aware of that as a factor.

We can absolutely minimize all of those peripherals when we explicitly train against it and a good programming interview doesn't have to be about that.

Re:In defense of coding interviews by d--b on Sunday May 29, 2022 @01:01AM (#31546535)
Well I didn’t mean to offend anyone. I guess that just makes you a better technical interviewer than most.

But to be perfectly unbiased, the process would have to double blind. And I don’t know anyone who likes to hire people (or anyone who wants to be hired) following a double blind process.

So at least there is _some_ non-technical bias that gets in the process.

Re:In defense of coding interviews by mountainriver on Sunday May 29, 2022 @12:31AM (#31546404)
Yup this is true for the most part, although someone bad will be harder to justify.

It’s hilarious listening to people review candidates on third coding interviews. Usually it’s “this person didn’t know this one thing I think makes me really smart”.

This is why I lean so heavy in OSS to review candidates. I can see how they interact with people, and whether they are actually able to build software that _people want_

I find with this approach it’s a lot harder to justify nonsense.

I hear people say maybe they don’t have time for OSS and then hand them a Leetcode interview, which as we all know is just about memorizing problems. OSS is such a better metric and has the added benefit of improving the world.

Re:In defense of coding interviews by lelanthran on Sunday May 29, 2022 @12:44AM (#31546459)
> It’s hilarious listening to people review candidates on third coding interviews. Usually it’s “this person didn’t know this one thing I think makes me really smart”.

Yup. I just went through a round of interviews at multiple companies. In the past I successfully interviewed at a FAANG.

I agree completely.

Re:In defense of coding interviews by rvz on Sunday May 29, 2022 @01:15AM (#31546605)
> This is why I lean so heavy in OSS to review candidates. I can see how they interact with people, and whether they are actually able to build software that _people want_

This.

There is absolutely no need to ask such ridiculous algorithms and advanced equations questions that you will never use or implement from scratch yourself, or asking the candidate to create a formal proof by rote for a entry-level software engineering position or even a senior level position.

Such interviewers who ask these questions have both googled the answers to these questions before the interview and also have never used them practically, but only do this to appear smarter than they actually are. Worse part is not even FAANG asks any of these formal proof questions, but only some certain startups that the last time I have checked, they have failed to make money and have shutdown. Why? Because they seriously thought they were a FAANG company.

Open-source cuts through the algorithms nonsense, saves time and gets a realistic idea of what the candidate has actually worked on in the open. I can ignore the typical hello world, or demo projects but can ask for if they have created open-source libraries or contributions to any serious projects like compilers, OS projects, or any related project to the job description etc.

A take home project is also a fine metric, but asking questions about algorithms and finding out that the interviewer (or the company) doesn't even use them tells you that the interviewer doesn't know what they are looking for.

Re:In defense of coding interviews by itronitron on Sunday May 29, 2022 @02:57AM (#31547051)
Re:In defense of coding interviews by 1270018080 on Sunday May 29, 2022 @01:20AM (#31546621)
> The dirty secret is that it’s never about the coding skills.

If you don't answer the 2 leetcode mediums in optimal complexity within 45 minutes then you don't pass. It's about coding skills.

Re:In defense of coding interviews by ipaddr on Sunday May 29, 2022 @04:30AM (#31547468)
It's about speed of solving medium leetcode not coding skills.
Re:In defense of coding interviews by aulin on Sunday May 29, 2022 @04:37AM (#31547508)
leetcode is not coding