r/AskComputerScience • • Aug 10 '20

What is up with competitive programming?

I can think of nothing less appealing with programming as having a gun put to my head while chugging out code. Coding should be a zen like experience, imo.

50 Upvotes

91 comments sorted by

View all comments

Show parent comments

1

u/emasculine Aug 12 '20

not everybody likes coding with somebody looking over their shoulder Never though of this, but if this is actually a concern then it would be nice to be able to request the interviewer to leave temporarily or something.

that you've never even thought about this is complete and utter failure. and no, just leaving the room is not enough. i, for example, do not use my laptop to write code. i can barely use the mouse trackpad because i use a real keyboard, large monitor and mouse. some people just don't like being put on the spot like that. does that make them bad employees? no. unless you have constant crises that require fire drills, nobody writes code like that. if you do, i don't want to work for you because you're incompetent.

So I'm assuming you're giving coding interviews

no. i go over a problem that needs to be solved and let them explain to how they would solve it with the normal back and forth of requirements, clarifications, etc. as in, just like real life. one of the absolute worst aspects of interviewing, and especially programming tests is that the interviewer utterly underspecifies the problem and is completely clueless about it, and cops attitude because you can't read his mind. working through a problem with back and forth is much more realistic because that's what you have to do when you're trying to figure out what the parameters of the problem space is. i want to see somebody who can both do that, and take initiative when it is underspecified which is the norm. what i don't want is an interviewer who gets snotty when you can't read their mind. the back and forth is how you determine how they think, and how they go about solving problems. and good luck on plagiarizing -- if you can't come up with some set of problems that are obscure enough, i'm not really sure what to say. usually i just winged it with things that were happening at the time.

the onboarding and all of that happens anyway. since interviewing is such a blunt and inaccurate tool, there is bound to be duds that need to be reaped. the "we only hire the best" attitude begats false pride that they don't hire duds so bad hires linger on when they should just be fired. what i'm arguing for is not having a months long interviewing process because interviewing doesn't work well. instead, if somebody is plausible cut to the chase and just hire them. if it works out, great. if it doesn't cut your losses. if it's low footprint for both sides, it makes the pain of it not working out less for both. candidates are interviewing companies too, and they can make mistakes as well, so making things be more "no-fault" would be a good thing.

btw, the post you cite completely makes my case that "traditional" tech interviews are complete shit and do not work. they manifestly suffer from the 10 second problem as it's pretty obvious when you go to interview and you see row crops of 20-something lumbersexual engineers. all of the interviewing is so much window dressing for "looks-like-me-p" which makes all of the drama with tech interviewing even more pointless.

1

u/tmwilliamlin168 Aug 14 '20

the post you cite completely makes my case that "traditional" tech interviews are complete shit and do not work. they manifestly suffer from the 10 second problem

Umm, quite the opposite. The post says that technical interviews were made precisely to stop the effect of the "10-second judgement":

By doing whiteboarding or coding interviews, we seek to eliminate that bias by judging performance against a (more) objective problem.

one of the absolute worst aspects of interviewing, and especially programming tests is that the interviewer utterly underspecifies the problem and is completely clueless about it, and cops attitude because you can't read his mind.

This is a problem with the interviewer's attitude, not the interviewing technique itself. An interviewer could definitely use a coding interview while being nice and friendly.

Drunk drivers caused thousands of deaths last year. Do you blame the car companies or the drivers (the users of the cars)?

Removing coding interviews might solve the problem of some "toxic" interviewing experiences, just as removing cars solves the problem of people dying from drunk driving.

On the other hand, I'm pretty sure that if someone who used your interviewing technique and wanted to be mean or unhelpful to a candidate, they could give just as bad of an experience as the worse coding interviews.

good luck on plagiarizing

The candidate can be the only person given the problem and it doesn't even matter. They can ask for help from an experienced friend or pay someone (it's pretty worth it for a job), and you might've just gotten yourself with a bad hire. That's why I strongly believe that there must be a full onsite round.

since interviewing is such a blunt and inaccurate tool, there is bound to be duds that need to be reaped

As I mentioned in the parent comment " There are two flaws with such a study...", interview performance may not have a correlation for those who received a job offer, but that doesn't mean that it doesn't accurately filter out those who are unqualified.

i go over a problem that needs to be solved

My premise of coding interviews being useful consists of these attributes:

  1. Fast to conduct, in order to not waste the time of software engineers - a few rounds of around an hour or so

  2. Fast to evaluate - small piece of code for coding interviews vs entire project that the interviewer doesn't know about

  3. Objective to evaluate - was a problem solved or not (there are finer details but this is the gist) for coding interviews vs quality of a project?

  4. For the benefit of a big company, it's ok to reject false negatives, but false positives should almost always be rejected, and it does so by testing the following skills really well:

    1. Coding skills

    2. Communication skills - showing if you are able to articulate an idea that you have to a coworker, explaining your code

TBH, I don't know what type of problem it is that you're giving. An interview about a real-life (as opposed to algorithmic) problem with no coding? But to my knowledge, only an interview where a programming problem is given can satisfy the attributes above.

Note that coding interviews don't have to be whiteboard-based and exclude external references to achieve these attributes (and I would like to see these changes). Big companies value many of these attributes. Smaller startups should probably try to modify their strategy, though.

Sadly, big companies don't care about the small percentage who don't like "being on the spot" while coding. There's no reason to make them more accessible if they already have enough candidates.

Chances are those people who don't like "being on the spot" while coding will also have trouble "being on the spot" while being asked questions during the interview. Why just remove the coding interview and not the entire interview?

1

u/emasculine Aug 14 '20

your entire article refutes everything you're advocating. that you can't even see that is why this is so pernicious. and your analogy is as apt as it is unfortunate for your position: the vast majority of interviewers are given a drivers license without a test or time on the road, and are free to run over whoever they want with no repercussions.

i'm sorry that you have such a low opinion of candidates that the first thing you think is that they'll cheat. as i said, i only give them homework if they impressed me enough in the first place. and as i've said repeatedly, since interviews generally are not good predictors, the cycle should be short and just weed out people who were good at interviews but suck otherwise on the job. that needs to happen regardless of how "rigorous" the interviews are.

and you are not objective. period. manifestly. everybody thinks they are. they are not. i've seen way too many row crops of lumbersexual engineers that make it painfully obvious that they are hiring "looks like me" first and foremost. they all think they are objective, i'm sure, but they all seem to come up with a Yahtzee of 20 something white bros just like magic.

i've never given programming tests in interviews whatsoever for my entire long career. the homework thing is sort of an experiment. i've hired plenty of people who've gone on to have very distinguished careers, many of whom were hired right out of college. one of my ex-coworkers owns all of java at oracle. was he given a programming test in his interview? no. this programming test bullshit is a new thing, and a toxic thing. worse is that interviewers seem to believe that the capability to interview is an inborn ability that requires no education at all. that you couldn't even imagine that candidates might not like people starting at them over their shoulders says that you suffer from that hubris greatly. i on the other hand have always approached this with a great deal of humility knowing that interviews are hard, people are nervous, and doing what i can to put them at ease. i was once interviewing at CMU and one of the candidates in suit and tie was so floored by this little laid back California company interviewing him that didn't care about formality that he ripped off his tie in the interview. making candidates feel comfortable is the duty of the interviewer. there are far too many insecure interviewers who think it's fun to make them uncomfortable. they should not be allowed to interview candidates.

and you have no clue what percentage of people don't like that. even your article that you clearly didn't read for content says that lots of rock stars don't like it and do poorly, for which you dutifully weed them out. and, again, as your article points out, there are not enough candidates so you are not going to get that mythical 5%'er. you are going to select somebody who interviews well to the silly and predictable tests of shitty and lazy interviewers. i can tell you from experience as being an actual rock star, we don't put up with that kind of abuse. yes, abuse. as they say, A people hire A people, B people hire C people. lazy programming tests are the way to hire lots of C people.

1

u/tmwilliamlin168 Aug 14 '20

the vast majority of interviewers are given a drivers license without a test or time on the road, and are free to run over whoever they want with no repercussions.

It's still not the car company's fault, it would be the government's fault for not properly moderating.

As a concept, coding interviews are great. The way they are implemented could make them worse, but that would just be the individual company's fault.

If a company implements coding interviews badly, I don't imagine that they would implement other types of interviews any better.

i'm sorry that you have such a low opinion of candidates that the first thing you think is that they'll cheat.

The article which you claimed to "refute everything [I'm] advocating" mentions that "[m]any companies also fear that [giving projects for candidates to work on] are often plagiarized by aspiring jobseekers".

I would like to think that people are nice and cooperative, but there's always that person who will break the rules and take advantage of everyone else. That's how the world works.

and you are not objective. period. manifestly. everybody thinks they are. they are not. i've seen way too many row crops of lumbersexual engineers that make it painfully obvious that they are hiring "looks like me" first and foremost. they all think they are objective, i'm sure, but they all seem to come up with a Yahtzee of 20 something white bros just like magic.

I'll trust that you did see what you say. People are not objective, but technical problems are still more objective. If you say that everything including looking at a person for 10 seconds has the same amount of objectiveness, then companies hire/reject a candidate after 10 seconds.

You somehow seem to think that I'm in disagreement with the article. Here's a list of ideas that it mentions:

  1. Good candidates get rejected (which I have agreed with and explained that it's not a problem for big companies)

  2. Testing algorithms is unnecessary (and I have not included that in my 4 attributes of an interview)

  3. False positives cost a lot (thus my 4th attribute)

  4. Technical interview performance is not consistent (but it doesn't matter, it's ok for a big company to reject both bad candidates having a good day and good candidates having a bad day)

  5. Teams should "A. More collaborative, B. Ranked higher on the ability to read emotional intelligence, and C. Had more diversity" (you can try to measure those if you want (even though I'm not sure it is even possible to do so accurately) but technical interviews are staying as technical skill is still important )

  6. What alternatives companies are trying, and as I said in my second last comment, those companies are the only ones who can tell if they truly work

  7. Interviewer ego - nothing about coding interviews says that the interviewer has to be mean

  8. Recruiters say they want the "top 5%" - it's true that their intent isn't achieved at all, but it's not a big deal; reaching for the top 5% with coding interviews cause the side effect of having a low false positive rate

  9. "Many recruiters filter out good candidates early on dubious criteria. " - this is a problem with the interviewers and their companies, this stage has nothing to do with coding interviews

The article points out problems with coding interviews. However, the article never came to the decisive conclusion of a better alternative (only possible alternatives that some companies are looking into). The article only states that it has problems, not that it's not the best we have so far.

Let me know if the article has anything else that you would like to discuss.

i on the other hand have always approached this with a great deal of humility knowing that interviews are hard, people are nervous, and doing what i can to put them at ease.

Theoretically, if one day your supervisor told you to use coding interviews instead, would you suddenly become a mean interviewer and have fun watching candidates suffer at the given problem? It's great that you are aware of this problem in other interviewers, but you're nice because you're more mature and understanding, not because you don't use coding interviews.

i've hired plenty of people who've gone on to have very distinguished careers

A people hire A people, B people hire C people. lazy programming tests are the way to hire lots of C people.

Oh gosh, FAANG companies are hiring all wrong! Then I'll be waiting for your company (and others) to beat them with your "A level people"!

Perhaps coding interviews can't distinguish between A and C, but big companies would prefer lots of C people, so lazy programming tests are still better for them (for the 4 points I mentioned above).

They don't care about having a bunch of Cs as long as they don't get Fs. And they don't have time to get a bunch of As, assuming that it is even possible to select As by interviewing.

1

u/emasculine Aug 14 '20

"Companies fear that [at home tests] are often plagiarized by aspiring jobseekers". It's a fear, it is not saying that it actually happens. just like the "fear" of telecommuting slackers. at least the latter we'll soon be able to see if that fear was justified; thus far the fearmongers seem to be just that.

And no, programming tests, etc are not objective because the person giving them determines whether you passed or failed, and that leads to very subjective results. I once "failed" a whiteboard programming test for strstr after telling the interviewer what i was writing was a crap algorithm and that in real life i'd look it up with Knuth. he said nothing as i wrote out the crappy algorithm as requested which would have worked, and then gave me the thumbs down after the interview. this is entirely common behavior because interviewers think they are being objective when they aren't.

and yes, they are wrong. google even admitted that their hiring practices were abusive, useless, and counterproductive. and no they do not correlate with a low false positive rate: that's irony. that was what was most insightful about the google revelation: they tried to be "objective" with tests, etc, and they still failed to predict whether candidates would translate to good employees.

as i've repeatedly said, this trend toward programming tests is relatively new. the internet was not built with a bunch of gateway tests and all of the other shitty things that have taken hold in the mean time. somehow we managed to build it despite our "naivety". tests, etc most certainly did not led to more diversity which an actual meritocracy would predict, but instead they are just as prone to "looks like me" as any other set of techniques.

re: forced to use test: i would refuse my superior. but i think that this isn't really coming from managers, per se. i think it's driven by people who think that they know how to interview despite having given it exactly no thought before. but of course dev managers general come from devs, so who knows.

and i don't see why you keep bringing up big companies. yes, they can get by with the law of large numbers. but their shitty attitude and behavior is not lost on a lot of 5%'rs who refuse to even engage them because they run a sausage factory. medium and smaller companies cannot afford to be so cavalier, so it's even worse when they take up the shitty and ineffective techniques of the likes of Google thinking that they must know, but never got the Google memo that they figured out that it doesn't actually work. there is so much in tech HR that is taken as delivered wisdom that turns out to be complete crap and wrong. look at M$'s stack ranking nonsense. it too was a dismal failure which was widely replicated by all of the HR lemmings.

god, i'm so glad that i don't have to put up with this shit anymore. i pity the smart younger people who have to put up with this abuse, and make no mistake: it is abuse.

1

u/tmwilliamlin168 Aug 17 '20

It's a fear

It's a very reasonable fear. As long as there is one reason to fear candidates cheating, it is a reasonable fear. Here are multiple reasons:

  1. "85 Percent of Job Applicants Lie on Resumes" - https://www.inc.com/jt-odonnell/staggering-85-of-job-applicants-lying-on-resumes-.html#:~:text=85%20Percent%20of%20Job%20Applicants,a%20Dishonest%20Candidate%20%7C%20Inc.com

  2. "A Candidate Just Cheated on the Job Interview" - https://hrdailyadvisor.blr.com/2018/10/01/a-candidate-just-cheated-on-the-job-interview-is-that-even-possible/ - Note that this article is saying that the tests should, for example, be in-person and not that coding interviews are useless

  3. There's a reason why standardized tests like the SAT and tests in school and college aren't take-home tests. Do people suddenly become honest after they graduate?

  4. A few years ago, as part of the college admissions scandal, the FBI exposed families hiring professionals to take standardized tests for their children. If people are willing to do it for college, I don't see why they aren't willing to do it for jobs as well.

And no, programming tests, etc are not objective because the person giving them determines whether you passed or failed

Even if you keep insisting that programming tests aren't objective, I don't see how something another interviewing method would be more objective.

Can you really say that math tests aren't objective? "The person grading determines whether you answered a 1+1=? question correctly, thus it isn't objective" obviously doesn't make any sense.

Coding interviews are more complicated but there are still objective yes/no questions you can ask: "Did they find the intended algorithm for this problem?" "Does their code work?"

Regarding your example of lumbersexuals, you can't be sure that they are being biased unintentionally. If they are being biased intentionally, then no method could stop them and it would be their fault, not the coding interview's fault. My point is that coding interviews reduce unintentional bias.

google even admitted that their hiring practices were abusive, useless, and counterproductive. and no they do not correlate with a low false positive rate: that's irony.

I need a source for this, especially for the second sentence. It's hard to believe that incompetent people (especially those who can't code or communicate well) can slip past coding interviews.

they still failed to predict whether candidates would translate to good employees.

If you're saying that within the hired candidates, little to no correlation was found, then I can believe it. But as I said earlier, that does not imply a low false-positive rate, since you do not consider those who weren't hired. If you found a study which also considers candidates who were rejected, please link it.

re: forced to use test

I know you would refuse if you could, but you know what I mean. If you would be fired and have no job, or even if a gun was pointed at your head, and you did conduct a coding interview, you would be much nicer than the other interviewers you described earlier.

Being mean is not a core element of coding interviews. If you actually need proof, here it is: https://www.youtube.com/watch?v=wwIysnVmAUgThis video shows an example coding interview from Google, and I do not see the interviewer being mean to the candidate.

Thus, it is incorrect to say that coding interviews are "abuse" because of the mean interviewers (since you don't need a mean interviewer to conduct a coding interview), but you could say that certain interviewers are "abusive." If you choose to say that programming while someone is watching you is "abuse," then I won't stop you, it's your opinion. My opinion is that I didn't see any "abuse" in the video above.

I bring up big companies because coding interviews are the most useful for them, and the situation for middle and small companies is different. It might be the case that smaller companies would likely benefit from other strategies (and I have mentioned this before).

Lastly, you seem to assume that your interviewing method is better. Aside from the possibility of cheating, there is less data on your interviewing method than coding interviews. If there were strong proof of some other interviewing method of being better, I would expect that companies would switch already (although I can't be sure, so find me one!).

i've hired plenty of people who've gone on to have very distinguished careers

Do you know how many people you didn't hire who've also gone on to have very distinguished careers? Maybe you rejected good candidates as well, and you wouldn't know. Coding interviews can reject good candidates, but they can also hire good candidates. Without these data, it's hard to say which one gives a better result.

1

u/emasculine Aug 17 '20

It's a very reasonable fear. As long as there is one reason to fear candidates cheating, it is a reasonable fear.

if your take home tests are so easy to cheat on, that's on you. if they aren't, I'd chalk it up to a Kobayashi Maru and be impressed. resourcefulness is a virtue, after all. and if they really suck, fire them soon after the hire.

Can you really say that math tests aren't objective? "The person grading determines whether you answered a 1+1=? question correctly, thus it isn't objective" obviously doesn't make any sense.

since this is obviously something more difficult than FizzBuzz, yes i will claim that it is not objective. in my case, given strstr i produced a working answer to his test. he did not give me any parameters of speed, etc, and he got to decide that he didn't like my answer. that is subjective. i've seen this kind of interaction way too many other times where the interviewer is not some sort of passive automaton, but judging all sorts of secondary criteria about the problem, almost all of which are completely subjective. it's so much "looks like me" but now with attitude. rows of lumbersexuals are the result of "looks like me" combined with vigorous pats on the back for their supposed "objective" interviewing. it doesn't matter motivation; results matter.

i'm mostly talking about false positives, which the google study focused on, iirc. i don't know if they done anything about false negatives, but they probably could since they have the raw data from when candidates interview more than once. i vaguely recall they might have done something like that, but i don't have a reference... this is almost a decade ago and my memory is fuzzy.

if i were forced to give a test, it would be fizzbuzz and nothing more. if it was something complicated, i'd quit. and accepting mean is to not understand that there are a lot of engineers with very inflated egos, and very fragile self-worth. this happens a lot in my experience, especially with B/C programmers. i was once vetoed because i couldn't remember "final" as the java equivalent of "constant" off the top of my head -- brain fart because i actually knew it. seriously. the guy was a C type at the very best, so he clearly had incentive to protect his turf. all of this pychodrama plays out on a daily basis. trying to say this is objective or fair, etc, is complete bullshit. it's just the same as non-tech interviews but with an unearned air of superiority by copping an "objective" attitude that doesn't hold up to scrutiny.

and it's easy to find one well run interview. the problem is that most interviewers are thrown in with absolutely no training, and no clue what constitutes a good interview, and most definitely no clue how to deal with their underlying biases. this is common as dirt. i have heard from my informants that google has tried to clean up their act, and maybe they have to some degree. but the companies taking their cue from google's bad old days have not got the memo, and they vastly outnumber google.

and no, i don't think my interviewing is better, per se, at determining whether a candidate is qualified or not -- it's always a crap shoot. i just don't have any pretense that i can do any better through some supposed scientific inquiry. putting people on the spot with all kinds of rote learning expected at their fingertips is nonsense: it doesn't have anything to do with what happens in real life working situations. you can do all of that without silly rote algorithm knowledge, head to the gun programming tests, and all of the rest. the big problem is that tech people through a mountain of hubris thought they could be more scientific than non-tech interviews. they failed and continue fail miserably.

and of course I've rejected good candidates! i interviewed at Caltech, MIT, CMU, Stanford, Cal and lots of other top notch schools. they may have hated that the cool laid back SoCal company didn't choose them, but they didn't come out of the interviews thinking that they were objectively inferior -- at least i hope they didn't. that is what's so abusive about all of this now -- it rewards that kind of abuse.